summaryrefslogtreecommitdiffstats
path: root/scripts/package
diff options
context:
space:
mode:
authormaximilian attems <max@stro.at>2011-01-13 15:34:20 +0100
committerMichal Marek <mmarek@suse.cz>2011-01-15 00:42:44 +0100
commit1b9a50d931a04ba007cc1a926fead3ff4b5afa9b (patch)
tree58ed7d7a604e6a06d8707842c4f97e38cc3c97f2 /scripts/package
parentee81b786a07f1d6062d6e14b6152f1f6cc4bc63b (diff)
downloadop-kernel-dev-1b9a50d931a04ba007cc1a926fead3ff4b5afa9b.zip
op-kernel-dev-1b9a50d931a04ba007cc1a926fead3ff4b5afa9b.tar.gz
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>
Diffstat (limited to 'scripts/package')
-rw-r--r--scripts/package/builddeb2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index b0b2357..ebc6d6e 100644
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -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"
OpenPOWER on IntegriCloud