Fix headers after Kbuild merge

This commit is contained in:
Justin M. Forbes 2017-05-11 16:19:24 -05:00
parent 6d0a2502c6
commit 651cbd3f93

View File

@ -1793,7 +1793,7 @@ find $RPM_BUILD_ROOT/usr/tmp-headers/include \
# Copy all the architectures we care about to their respective asm directories
for arch in arm arm64 powerpc s390 x86 ; do
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/.
done