From: Michael Grzeschik Date: Tue, 8 Jan 2013 18:05:26 +0000 (+0100) Subject: scripts/link-vmlinux.sh: source variables from KCONFIG_CONFIG X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=03b25b47e0f4ebf3d37ace065c3847230ebdd27d;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Michal Marek --- diff --git a/scripts/link-vmlinux.sh b/scripts/link-vmlinux.sh index b3d907eb93a9..e62f1e000a7b 100644 --- a/scripts/link-vmlinux.sh +++ b/scripts/link-vmlinux.sh @@ -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