aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorNicolas Porcel <nicolasporcel06@gmail.com>2017-08-18 18:20:51 -0400
committerMasahiro Yamada <yamada.masahiro@socionext.com>2017-09-02 04:00:02 -0400
commitcfd63736726a7fabb3dd89ea91cff143ac4dc8a7 (patch)
tree0509b0cecf98c4820b3e9f0e077d1336160ac1e0 /scripts
parentde8cf95047cfe06d0bc3b7bbbe4fd337d47da2c7 (diff)
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>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/package/buildtar4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/package/buildtar b/scripts/package/buildtar
index e046bff33589..483ba00524d5 100755
--- a/scripts/package/buildtar
+++ b/scripts/package/buildtar
@@ -56,7 +56,7 @@ mkdir -p -- "${tmpdir}/boot"
56# 56#
57# Try to install modules 57# Try to install modules
58# 58#
59if grep -q '^CONFIG_MODULES=y' "${objtree}/.config"; then 59if grep -q '^CONFIG_MODULES=y' "${KCONFIG_CONFIG}"; then
60 make ARCH="${ARCH}" O="${objtree}" KBUILD_SRC= INSTALL_MOD_PATH="${tmpdir}" modules_install 60 make ARCH="${ARCH}" O="${objtree}" KBUILD_SRC= INSTALL_MOD_PATH="${tmpdir}" modules_install
61fi 61fi
62 62
@@ -65,7 +65,7 @@ fi
65# Install basic kernel files 65# Install basic kernel files
66# 66#
67cp -v -- "${objtree}/System.map" "${tmpdir}/boot/System.map-${KERNELRELEASE}" 67cp -v -- "${objtree}/System.map" "${tmpdir}/boot/System.map-${KERNELRELEASE}"
68cp -v -- "${objtree}/.config" "${tmpdir}/boot/config-${KERNELRELEASE}" 68cp -v -- "${KCONFIG_CONFIG}" "${tmpdir}/boot/config-${KERNELRELEASE}"
69cp -v -- "${objtree}/vmlinux" "${tmpdir}/boot/vmlinux-${KERNELRELEASE}" 69cp -v -- "${objtree}/vmlinux" "${tmpdir}/boot/vmlinux-${KERNELRELEASE}"
70 70
71 71