Skip to content
Snippets Groups Projects
user avatar
Masahiro Yamada authored
As commit 423a8155 ("kbuild: Fix reading of .config in
link-vmlinux.sh") addressed, some shells fail to perform '.' if
${KCONFIG_CONFIG} does not contain a slash at all.

Instead, we can source include/config/auto.conf, which obviously
contain slashes, and we do not expect its file path overridden by
a user. Perhaps, the performance might be slightly better since
unset CONFIG options are stripped from include/config/auto.conf.

scripts/setlocalversion already works this way.

Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
94cf8acc
Name Last commit Last update