summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle McMartin <kyle@fedoraproject.org>2014-05-05 17:46:26 -0400
committerKyle McMartin <kyle@fedoraproject.org>2014-05-05 17:46:26 -0400
commitea6c81b4d83277ffb5c473190fc0fa76e6fdedbc (patch)
tree181ac26cb65cc1a7929433a320c024f8115e9b31
parent4e7d9ba0b6ec82053b8e6d141cde9dcf05aff67c (diff)
downloadkernel-ea6c81b4d83277ffb5c473190fc0fa76e6fdedbc.tar.gz
kernel-ea6c81b4d83277ffb5c473190fc0fa76e6fdedbc.tar.xz
kernel-ea6c81b4d83277ffb5c473190fc0fa76e6fdedbc.zip
install arch/arm/include/asm/xen headers on aarch64
-rw-r--r--kernel.spec8
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel.spec b/kernel.spec
index 12315ddf8..0a0ece695 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -1590,6 +1590,10 @@ BuildKernel() {
if [ -d arch/%{asmarch}/include ]; then
cp -a --parents arch/%{asmarch}/include $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
fi
+%ifarch aarch64
+ # arch/arm64/include/asm/xen references arch/arm
+ cp -a --parents arch/arm/include/asm/xen $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
+%endif
# include the machine specific headers for ARM variants, if available.
%ifarch %{arm}
if [ -d arch/%{asmarch}/mach-${Flavour}/include ]; then
@@ -2225,6 +2229,10 @@ fi
# ||----w |
# || ||
%changelog
+* Mon May 05 2014 Kyle McMartin <kyle@fedoraproject.org>
+- Install arch/arm/include/asm/xen headers on aarch64, since the headers in
+ arch/arm64/include/asm/xen reference them.
+
* Mon May 05 2014 Josh Boyer <jwboyer@fedoraproject.org> - 3.15.0-0.rc4.git0.1
- Linux v3.15-rc4
- Disable debugging options.