mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 12:50:53 +07:00
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>
This commit is contained in:
parent
ee81b786a0
commit
1b9a50d931
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user