summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPetr Vorel <petr.vorel@gmail.com>2023-11-21 12:58:55 +0100
committerMasahiro Yamada <masahiroy@kernel.org>2023-11-28 03:22:51 +0100
commitb28d6ca1c9cbb64b0c8e435c0ff34d8c5d52812c (patch)
tree10689df03e339ce3fb7fd8b40b50ae47aa935535 /scripts
parentkbuild: buildtar: Remove unused $dirs (diff)
downloadlinux-b28d6ca1c9cbb64b0c8e435c0ff34d8c5d52812c.tar.xz
linux-b28d6ca1c9cbb64b0c8e435c0ff34d8c5d52812c.zip
kbuild: buildtar: always make modules_install
It is done for the same reasons as 4243afdb9326 does it for builddeb: always runs make modules to install modules.builtin* files, which are needed for e.g. initramfs-tools or LTP testing tool. Signed-off-by: Petr Vorel <pvorel@suse.cz> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/package/buildtar6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/package/buildtar b/scripts/package/buildtar
index 8ac075dd0e9c..72c91a1b832f 100755
--- a/scripts/package/buildtar
+++ b/scripts/package/buildtar
@@ -37,11 +37,9 @@ fi
#
-# Try to install modules
+# Install modules
#
-if grep -q '^CONFIG_MODULES=y' include/config/auto.conf; then
- make ARCH="${ARCH}" -f ${srctree}/Makefile INSTALL_MOD_PATH="${tmpdir}" modules_install
-fi
+make ARCH="${ARCH}" -f ${srctree}/Makefile INSTALL_MOD_PATH="${tmpdir}" modules_install
#