kbuild: buildtar: always make modules_install

It is done for the same reasons as 4243afdb93 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>
This commit is contained in:
Petr Vorel 2023-11-21 12:58:55 +01:00 committed by Masahiro Yamada
parent 884f55f152
commit b28d6ca1c9
1 changed files with 2 additions and 4 deletions

View File

@ -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
#