deb-pkg: Use $SRCARCH for include path

Fix x86 centric path to allow building kernel-header packages for
other architecture.

Signed-off-by: maximilian attems <max@stro.at>
Signed-off-by: Michal Marek <mmarek@suse.cz>
This commit is contained in:
maximilian attems 2011-01-13 15:34:20 +01:00 committed by Michal Marek
parent ee81b786a0
commit 1b9a50d931
1 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,7 @@ fi
# Build header package
find . -name Makefile -o -name Kconfig\* -o -name \*.pl > /tmp/files$$
find arch/x86/include include scripts -type f >> /tmp/files$$
find arch/$SRCARCH/include include scripts -type f >> /tmp/files$$
(cd $objtree; find .config Module.symvers include scripts -type f >> /tmp/objfiles$$)
destdir=$kernel_headers_dir/usr/src/linux-headers-$version
mkdir -p "$destdir"