diff options
author | maximilian attems <max@stro.at> | 2011-01-13 09:34:20 -0500 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2011-01-14 18:42:44 -0500 |
commit | 1b9a50d931a04ba007cc1a926fead3ff4b5afa9b (patch) | |
tree | 58ed7d7a604e6a06d8707842c4f97e38cc3c97f2 | |
parent | ee81b786a07f1d6062d6e14b6152f1f6cc4bc63b (diff) |
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>
-rw-r--r-- | scripts/package/builddeb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/package/builddeb b/scripts/package/builddeb index b0b2357aef4..ebc6d6e9d77 100644 --- a/scripts/package/builddeb +++ b/scripts/package/builddeb | |||
@@ -239,7 +239,7 @@ fi | |||
239 | 239 | ||
240 | # Build header package | 240 | # Build header package |
241 | find . -name Makefile -o -name Kconfig\* -o -name \*.pl > /tmp/files$$ | 241 | find . -name Makefile -o -name Kconfig\* -o -name \*.pl > /tmp/files$$ |
242 | find arch/x86/include include scripts -type f >> /tmp/files$$ | 242 | find arch/$SRCARCH/include include scripts -type f >> /tmp/files$$ |
243 | (cd $objtree; find .config Module.symvers include scripts -type f >> /tmp/objfiles$$) | 243 | (cd $objtree; find .config Module.symvers include scripts -type f >> /tmp/objfiles$$) |
244 | destdir=$kernel_headers_dir/usr/src/linux-headers-$version | 244 | destdir=$kernel_headers_dir/usr/src/linux-headers-$version |
245 | mkdir -p "$destdir" | 245 | mkdir -p "$destdir" |