History

kbuild: Use KCONFIG_CONFIG in buildtar

Previously, .config was used in buildtar script regardless of the value of KCONFIG_CONFIG.

Nicolas Porcel committed 9 years ago

Commit cfd63731 parent de8cf951 file · +2 −2Browse files

Showing the changes to scripts (1 of 1 file). Show all

Unified · Split

scripts/package/buildtar+2−2
@@ -56,7 +56,7 @@ mkdir -p -- "${tmpdir}/boot" · 55 unmodified lines
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 · 2 unmodified lines
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