Merge tag 'kbuild-fixes-v6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
Pull Kbuild fixes from Masahiro Yamada: - Fix kernel-devel RPM and linux-headers Deb package - Fix too long argument list error in 'make modules_install' * tag 'kbuild-fixes-v6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: kbuild: avoid long argument lists in make modules_install kbuild: fix kernel-devel RPM package and linux-headers Deb package
This commit is contained in:
@@ -113,7 +113,7 @@ quiet_cmd_sign :=
|
||||
endif
|
||||
|
||||
# Create necessary directories
|
||||
$(shell mkdir -p $(sort $(dir $(install-y))))
|
||||
$(foreach dir, $(sort $(dir $(install-y))), $(shell mkdir -p $(dir)))
|
||||
|
||||
$(dst)/%.ko: $(extmod_prefix)%.ko FORCE
|
||||
$(call cmd,install)
|
||||
|
@@ -20,7 +20,7 @@ mkdir -p "${destdir}"
|
||||
find "arch/${SRCARCH}" -maxdepth 1 -name 'Makefile*'
|
||||
find include scripts -type f -o -type l
|
||||
find "arch/${SRCARCH}" -name Kbuild.platforms -o -name Platform
|
||||
find "$(find "arch/${SRCARCH}" -name include -o -name scripts -type d)" -type f
|
||||
find "arch/${SRCARCH}" -name include -o -name scripts -type d
|
||||
) | tar -c -f - -C "${srctree}" -T - | tar -xf - -C "${destdir}"
|
||||
|
||||
{
|
||||
|
Reference in New Issue
Block a user