diff options
author | maximilian attems <max@stro.at> | 2011-01-13 15:34:20 +0100 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2011-01-15 00:42:44 +0100 |
commit | 1b9a50d931a04ba007cc1a926fead3ff4b5afa9b (patch) | |
tree | 58ed7d7a604e6a06d8707842c4f97e38cc3c97f2 | |
parent | ee81b786a07f1d6062d6e14b6152f1f6cc4bc63b (diff) | |
download | linux-3.10-1b9a50d931a04ba007cc1a926fead3ff4b5afa9b.tar.gz linux-3.10-1b9a50d931a04ba007cc1a926fead3ff4b5afa9b.tar.bz2 linux-3.10-1b9a50d931a04ba007cc1a926fead3ff4b5afa9b.zip |
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 # 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" |