Skip to content

Commit f0b0d40

Browse files
committed
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
2 parents 3cec504 + 552c501 commit f0b0d40

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/Makefile.modinst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ quiet_cmd_sign :=
113113
endif
114114

115115
# Create necessary directories
116-
$(shell mkdir -p $(sort $(dir $(install-y))))
116+
$(foreach dir, $(sort $(dir $(install-y))), $(shell mkdir -p $(dir)))
117117

118118
$(dst)/%.ko: $(extmod_prefix)%.ko FORCE
119119
$(call cmd,install)

scripts/package/install-extmod-build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ mkdir -p "${destdir}"
2020
find "arch/${SRCARCH}" -maxdepth 1 -name 'Makefile*'
2121
find include scripts -type f -o -type l
2222
find "arch/${SRCARCH}" -name Kbuild.platforms -o -name Platform
23-
find "$(find "arch/${SRCARCH}" -name include -o -name scripts -type d)" -type f
23+
find "arch/${SRCARCH}" -name include -o -name scripts -type d
2424
) | tar -c -f - -C "${srctree}" -T - | tar -xf - -C "${destdir}"
2525

2626
{

0 commit comments

Comments
 (0)