提交 03b25b47 编写于 作者: M Michael Grzeschik 提交者: Michal Marek

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: NMichael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: NMichal Marek <mmarek@suse.cz>
上级 70730bca
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册