summaryrefslogtreecommitdiff
path: root/scripts/link-vmlinux.sh
diff options
context:
space:
mode:
authorMichael Grzeschik <m.grzeschik@pengutronix.de>2013-01-08 22:05:26 +0400
committerMichal Marek <mmarek@suse.cz>2013-02-22 13:37:18 +0400
commit03b25b47e0f4ebf3d37ace065c3847230ebdd27d (patch)
treeb10ff0c3236612f7d9a80ad58c030346d8172529 /scripts/link-vmlinux.sh
parent70730bca1331fc50c3caacaea00439de1325bd6e (diff)
downloadlinux-03b25b47e0f4ebf3d37ace065c3847230ebdd27d.tar.xz
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 <m.grzeschik@pengutronix.de> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/link-vmlinux.sh')
-rw-r--r--scripts/link-vmlinux.sh2
1 files changed, 1 insertions, 1 deletions
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