]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: source include/config/auto.conf instead of ${KCONFIG_CONFIG}
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 8 Mar 2019 05:49:10 +0000 (14:49 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 13 Mar 2019 17:39:11 +0000 (02:39 +0900)
commitfb0ce5b2c2757bce50b5ac3f6cf451076c6a5936
treec0823765b3b572d1d67631913cb733f292bcd39d
parent4a92e20bec95e22bee721c66b6da9d390b5b7cb3
kbuild: source include/config/auto.conf instead of ${KCONFIG_CONFIG}

As commit 0475715e6de1 ("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: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/adjust_autoksyms.sh
scripts/link-vmlinux.sh