aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMichael Grzeschik <m.grzeschik@pengutronix.de>2013-01-08 13:05:26 -0500
committerMichal Marek <mmarek@suse.cz>2013-02-22 04:37:18 -0500
commit03b25b47e0f4ebf3d37ace065c3847230ebdd27d (patch)
treeb10ff0c3236612f7d9a80ad58c030346d8172529 /scripts
parent70730bca1331fc50c3caacaea00439de1325bd6e (diff)
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')
-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
132fi 132fi
133 133
134# We need access to CONFIG_ symbols 134# We need access to CONFIG_ symbols
135. ./.config 135. ${KCONFIG_CONFIG}
136 136
137#link vmlinux.o 137#link vmlinux.o
138info LD vmlinux.o 138info LD vmlinux.o