]> git.itanic.dy.fi Git - linux-stable/commitdiff
kbuild: deb-pkg: do not search for 'scripts' directory under arch/
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 30 Dec 2023 12:02:52 +0000 (21:02 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Fri, 5 Jan 2024 10:35:38 +0000 (19:35 +0900)
The 'scripts' directory was searched under arch/${SRCARCH} to copy
arch/ia64/scripts, but commit cf8e8658100d ("arch: Remove Itanium
(IA-64) architecture") removed arch/ia64/ entirely.

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

index 8a7051fad0878990cd4569a326fc7137a7db088d..76e0765dfcd6ea23294be4d54329c1317dbddb37 100755 (executable)
@@ -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}"
 
 {