Skip to content

Commit

Permalink
deb-pkg: Use $SRCARCH for include path
Browse files Browse the repository at this point in the history
Fix x86 centric path to allow building kernel-header packages for
other architecture.

Signed-off-by: maximilian attems <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
  • Loading branch information
brainflux authored and michal42 committed Jan 14, 2011
1 parent ee81b78 commit 1b9a50d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/package/builddeb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 1b9a50d

Please sign in to comment.