diff options
author | Michael Grzeschik <m.grzeschik@pengutronix.de> | 2013-01-08 19:05:26 +0100 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2013-02-22 10:37:18 +0100 |
commit | 03b25b47e0f4ebf3d37ace065c3847230ebdd27d (patch) | |
tree | b10ff0c3236612f7d9a80ad58c030346d8172529 /scripts/link-vmlinux.sh | |
parent | 70730bca1331fc50c3caacaea00439de1325bd6e (diff) | |
download | linux-03b25b47e0f4ebf3d37ace065c3847230ebdd27d.tar.gz linux-03b25b47e0f4ebf3d37ace065c3847230ebdd27d.tar.bz2 linux-03b25b47e0f4ebf3d37ace065c3847230ebdd27d.zip |
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.sh | 2 |
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 |