[kernel] install arch/arm/include/asm/xen headers on aarch64

Kyle McMartin kyle at fedoraproject.org
Mon May 5 21:47:21 UTC 2014


commit ea6c81b4d83277ffb5c473190fc0fa76e6fdedbc
Author: Kyle McMartin <kyle at fedoraproject.org>
Date:   Mon May 5 17:46:26 2014 -0400

    install arch/arm/include/asm/xen headers on aarch64

 kernel.spec |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/kernel.spec b/kernel.spec
index 12315dd..0a0ece6 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 at 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 at fedoraproject.org> - 3.15.0-0.rc4.git0.1
 - Linux v3.15-rc4
 - Disable debugging options.


More information about the scm-commits mailing list