diff mbox series

kbuild: deb-pkg: do not search for 'scripts' directory under arch/

Message ID 20231230120252.987732-1-masahiroy@kernel.org (mailing list archive)
State New, archived
Headers show
Series kbuild: deb-pkg: do not search for 'scripts' directory under arch/ | expand

Commit Message

Masahiro Yamada Dec. 30, 2023, 12:02 p.m. UTC
The 'scripts' directory was searched under arch/${SRCARCH} here to
copy arch/ia64/scripts, but commit cf8e8658100d ("arch: Remove Itanium
(IA-64) architecture") removed the IA-64 support.

There is another 'scripts' directory in arch/um, but this script is
never executed with SRCARCH=um because UML does not support the
linux-headers package.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---

 scripts/package/install-extmod-build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/scripts/package/install-extmod-build b/scripts/package/install-extmod-build
index 8a7051fad087..76e0765dfcd6 100755
--- a/scripts/package/install-extmod-build
+++ b/scripts/package/install-extmod-build
@@ -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 "arch/${SRCARCH}" -name include -o -name scripts -type d
+	find "arch/${SRCARCH}" -name include -type d
 ) | tar -c -f - -C "${srctree}" -T - | tar -xf - -C "${destdir}"
 
 {