Skip to content

Commit

Permalink
kbuild: buildtar: always make modules_install
Browse files Browse the repository at this point in the history
It is done for the same reasons as 4243afd 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>
  • Loading branch information
Petr Vorel authored and Masahiro Yamada committed Nov 28, 2023
1 parent 884f55f commit b28d6ca
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions scripts/package/buildtar
Original file line number Diff line number Diff line change
Expand Up @@ -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


#
Expand Down

0 comments on commit b28d6ca

Please sign in to comment.