From: Masahiro Yamada Date: Sat, 30 Dec 2023 12:02:52 +0000 (+0900) Subject: kbuild: deb-pkg: do not search for 'scripts' directory under arch/ X-Git-Tag: v6.8-rc1~31^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=358c3f8cce6d8294e7ba72199f04771e9bff4b64;p=thirdparty%2Fkernel%2Flinux.git kbuild: deb-pkg: do not search for 'scripts' directory under arch/ 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 --- diff --git a/scripts/package/install-extmod-build b/scripts/package/install-extmod-build index 8a7051fad0878..76e0765dfcd6e 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}" {