Re: [PATCH master] scripts: setlocalversion: sync with Linux

2023-11-10 Thread Sascha Hauer
On Thu, Nov 09, 2023 at 12:38:35PM +0100, Ahmad Fatoum wrote: > We are using an older version of setlocalversion that sources the > config. This is wrong as there's no guarantee that it's ok to source the > config, e.g.: > > CONFIG_DEFAULT_ENVIRONMENT_PATH="$(objtree)/.ptxdist-defaultenv" > > w

[PATCH master] scripts: setlocalversion: sync with Linux

2023-11-09 Thread Ahmad Fatoum
We are using an older version of setlocalversion that sources the config. This is wrong as there's no guarantee that it's ok to source the config, e.g.: CONFIG_DEFAULT_ENVIRONMENT_PATH="$(objtree)/.ptxdist-defaultenv" when sourced will lead to: scripts/setlocalversion: 15: include/config/aut