Fix headers after Kbuild merge
This commit is contained in:
parent
6d0a2502c6
commit
651cbd3f93
@ -1793,7 +1793,7 @@ find $RPM_BUILD_ROOT/usr/tmp-headers/include \
|
|||||||
# Copy all the architectures we care about to their respective asm directories
|
# Copy all the architectures we care about to their respective asm directories
|
||||||
for arch in arm arm64 powerpc s390 x86 ; do
|
for arch in arm arm64 powerpc s390 x86 ; do
|
||||||
mkdir -p $RPM_BUILD_ROOT/usr/${arch}-linux-gnu/include
|
mkdir -p $RPM_BUILD_ROOT/usr/${arch}-linux-gnu/include
|
||||||
mv $RPM_BUILD_ROOT/usr/tmp-headers/include/asm-${arch} $RPM_BUILD_ROOT/usr/${arch}-linux-gnu/include/asm
|
mv $RPM_BUILD_ROOT/usr/tmp-headers/include/arch-${arch} $RPM_BUILD_ROOT/usr/${arch}-linux-gnu/include/asm
|
||||||
cp -a $RPM_BUILD_ROOT/usr/tmp-headers/include/asm-generic $RPM_BUILD_ROOT/usr/${arch}-linux-gnu/include/.
|
cp -a $RPM_BUILD_ROOT/usr/tmp-headers/include/asm-generic $RPM_BUILD_ROOT/usr/${arch}-linux-gnu/include/.
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user