scripts/link-vmlinux.sh: source variables from KCONFIG_CONFIG
PATCH 1/1 scripts/link-vmlinux.sh: source variables from KCONFIG_CONFIG
Its possible to superseed the config file with KCONFIG_CONFIG and have completely no .config in the tree. The current script is sourcing .config in every case, so the kernel will never build succesfully. This patch fixes that issue by sourcing KCONFIG_CONFIG instead.
Signed-off-by Michael Grzeschik <[email protected]>
--- scripts/link-vmlinux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/link-vmlinux.sh +1 -1
@@ -132,7 +132,7 @@ if [ "$1" = "clean" ]; then fi # We need access to CONFIG_ symbols -. ./.config +. ${KCONFIG_CONFIG} #link vmlinux.o info LD vmlinux.o
Signature · 1 line
1.7.10.4
Quoted 6 lines · Michael Grzeschik
Its possible to superseed the config file with
KCONFIG_CONFIGand have completely no .config in the tree. The current script is sourcing .config in every case, so the kernel will never build succesfully. This patch fixes that issue by sourcingKCONFIG_CONFIGinstead.Signed-off-by Michael Grzeschik <[email protected]>
Applied to kbuild.git#kbuild, thanks.
Michal