Skip to content

Commit cfd6373

Browse files
Nicop06masahir0y
authored andcommitted
kbuild: Use KCONFIG_CONFIG in buildtar
Previously, .config was used in buildtar script regardless of the value of KCONFIG_CONFIG. Signed-off-by: Nicolas Porcel <nicolasporcel06@gmail.com> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
1 parent de8cf95 commit cfd6373

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎scripts/package/buildtar‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ mkdir -p -- "${tmpdir}/boot"
5656
#
5757
# Try to install modules
5858
#
59-
if grep -q '^CONFIG_MODULES=y' "${objtree}/.config"; then
59+
if grep -q '^CONFIG_MODULES=y' "${KCONFIG_CONFIG}"; then
6060
make ARCH="${ARCH}" O="${objtree}" KBUILD_SRC= INSTALL_MOD_PATH="${tmpdir}" modules_install
6161
fi
6262

@@ -65,7 +65,7 @@ fi
6565
# Install basic kernel files
6666
#
6767
cp -v -- "${objtree}/System.map" "${tmpdir}/boot/System.map-${KERNELRELEASE}"
68-
cp -v -- "${objtree}/.config" "${tmpdir}/boot/config-${KERNELRELEASE}"
68+
cp -v -- "${KCONFIG_CONFIG}" "${tmpdir}/boot/config-${KERNELRELEASE}"
6969
cp -v -- "${objtree}/vmlinux" "${tmpdir}/boot/vmlinux-${KERNELRELEASE}"
7070

7171

0 commit comments

Comments
 (0)