Commit cfd63736 authored by Nicolas Porcel's avatar Nicolas Porcel Committed by Masahiro Yamada

kbuild: Use KCONFIG_CONFIG in buildtar

Previously, .config was used in buildtar script regardless of the value of
KCONFIG_CONFIG.
Signed-off-by: default avatarNicolas Porcel <nicolasporcel06@gmail.com>
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent de8cf950
...@@ -56,7 +56,7 @@ mkdir -p -- "${tmpdir}/boot" ...@@ -56,7 +56,7 @@ mkdir -p -- "${tmpdir}/boot"
# #
# Try to install modules # Try to install modules
# #
if grep -q '^CONFIG_MODULES=y' "${objtree}/.config"; then if grep -q '^CONFIG_MODULES=y' "${KCONFIG_CONFIG}"; then
make ARCH="${ARCH}" O="${objtree}" KBUILD_SRC= INSTALL_MOD_PATH="${tmpdir}" modules_install make ARCH="${ARCH}" O="${objtree}" KBUILD_SRC= INSTALL_MOD_PATH="${tmpdir}" modules_install
fi fi
...@@ -65,7 +65,7 @@ fi ...@@ -65,7 +65,7 @@ fi
# Install basic kernel files # Install basic kernel files
# #
cp -v -- "${objtree}/System.map" "${tmpdir}/boot/System.map-${KERNELRELEASE}" cp -v -- "${objtree}/System.map" "${tmpdir}/boot/System.map-${KERNELRELEASE}"
cp -v -- "${objtree}/.config" "${tmpdir}/boot/config-${KERNELRELEASE}" cp -v -- "${KCONFIG_CONFIG}" "${tmpdir}/boot/config-${KERNELRELEASE}"
cp -v -- "${objtree}/vmlinux" "${tmpdir}/boot/vmlinux-${KERNELRELEASE}" cp -v -- "${objtree}/vmlinux" "${tmpdir}/boot/vmlinux-${KERNELRELEASE}"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment