Skip to content

Commit

Permalink
scripts/link-vmlinux.sh: source variables from KCONFIG_CONFIG
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
  • Loading branch information
mgrzeschik authored and michal42 committed Feb 22, 2013
1 parent 70730bc commit 03b25b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/link-vmlinux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 03b25b4

Please sign in to comment.