Skip to contentSkip to conversation

deb-pkg: Use $SRCARCH for include path

PATCH In review maximilian attems 2 participants 2 messages Jan 13, 2011 – Jan 14, 2011 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 deb-pkg: Use $SRCARCH for include path

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

Thanks: Michal Marek <[email protected]>

---
 scripts/package/builddeb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
scripts/package/builddeb +1 -1
index b0b2357..ebc6d6e 100644
@@ -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"
Signature · 1 line
1.7.2.3