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:
Linus Torvalds
2023-09-16 15:27:00 -07:00
2 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@ quiet_cmd_sign :=
endif endif
# Create necessary directories # 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 $(dst)/%.ko: $(extmod_prefix)%.ko FORCE
$(call cmd,install) $(call cmd,install)

View File

@ -20,7 +20,7 @@ mkdir -p "${destdir}"
find "arch/${SRCARCH}" -maxdepth 1 -name 'Makefile*' find "arch/${SRCARCH}" -maxdepth 1 -name 'Makefile*'
find include scripts -type f -o -type l find include scripts -type f -o -type l
find "arch/${SRCARCH}" -name Kbuild.platforms -o -name Platform 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}" ) | tar -c -f - -C "${srctree}" -T - | tar -xf - -C "${destdir}"
{ {