diff options
author | Michael Grzeschik <m.grzeschik@pengutronix.de> | 2013-01-08 18:05:26 (GMT) |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2013-02-22 09:37:18 (GMT) |
commit | 03b25b47e0f4ebf3d37ace065c3847230ebdd27d (patch) | |
tree | b10ff0c3236612f7d9a80ad58c030346d8172529 | |
parent | 70730bca1331fc50c3caacaea00439de1325bd6e (diff) | |
download | linux-fsl-qoriq-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>
-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 b3d907e..e62f1e0 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 |