Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Petr Vorel and committed by
Masahiro Yamada
b28d6ca1 884f55f1

+2 -4
+2 -4
scripts/package/buildtar
··· 37 37 38 38 39 39 # 40 - # Try to install modules 40 + # Install modules 41 41 # 42 - if grep -q '^CONFIG_MODULES=y' include/config/auto.conf; then 43 - make ARCH="${ARCH}" -f ${srctree}/Makefile INSTALL_MOD_PATH="${tmpdir}" modules_install 44 - fi 42 + make ARCH="${ARCH}" -f ${srctree}/Makefile INSTALL_MOD_PATH="${tmpdir}" modules_install 45 43 46 44 47 45 #