Commit 1b9a50d9 authored by maximilian attems's avatar maximilian attems Committed by Michal Marek

deb-pkg: Use $SRCARCH for include path

Fix x86 centric path to allow building kernel-header packages for
other architecture.
Signed-off-by: default avatarmaximilian attems <>
Signed-off-by: default avatarMichal Marek <>
parent ee81b786
......@@ -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$$)
mkdir -p "$destdir"
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment