summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2011-02-04 15:01:57 +0100
committerMichal Marek <mmarek@suse.cz>2011-02-04 15:01:57 +0100
commit0f54088aac3fc744cae0cbc4f021fc377e48a00c (patch)
tree4ae051577dad1161c91dafbf4207bb10a9dc91bb /scripts
parentc56eb8fb6dccb83d9fe62fd4dc00c834de9bc470 (diff)
parent9b4ce7bce5f30712fd926ab4599a803314a07719 (diff)
downloadblackbird-op-linux-0f54088aac3fc744cae0cbc4f021fc377e48a00c.tar.gz
blackbird-op-linux-0f54088aac3fc744cae0cbc4f021fc377e48a00c.zip
Merge branch 'kbuild/packaging' into kbuild/rc-fixes
Diffstat (limited to 'scripts')
-rw-r--r--scripts/package/builddeb6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index b0b2357aef42..f6cbc3ddb68b 100644
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -238,12 +238,12 @@ EOF
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$$
+(cd $srctree; find . -name Makefile -o -name Kconfig\* -o -name \*.pl > /tmp/files$$)
+(cd $srctree; 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"
-tar -c -f - -T /tmp/files$$ | (cd $destdir; tar -xf -)
+(cd $srctree; tar -c -f - -T /tmp/files$$) | (cd $destdir; tar -xf -)
(cd $objtree; tar -c -f - -T /tmp/objfiles$$) | (cd $destdir; tar -xf -)
rm -f /tmp/files$$ /tmp/objfiles$$
arch=$(dpkg --print-architecture)
OpenPOWER on IntegriCloud