Commit 358c3f8c authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

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 cf8e8658 ("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: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 16c36f88
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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}"

{