summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Bastian <jbastian@redhat.com>2015-12-15 13:07:02 -0600
committerJosh Boyer <jwboyer@fedoraproject.org>2016-08-25 16:17:13 -0400
commite4312ce21440e7cfda97a0084681e3ffbde8861c (patch)
tree56111abe322b05ca07d79eee84c8532fbcfdc1fe
parent00693147f5d2ffd473a89caefbb74f42aa58a21a (diff)
downloadkernel-e4312ce21440e7cfda97a0084681e3ffbde8861c.tar.gz
kernel-e4312ce21440e7cfda97a0084681e3ffbde8861c.tar.xz
kernel-e4312ce21440e7cfda97a0084681e3ffbde8861c.zip
add 32-bit ARM opcodes.h to kernel-devel rpm
64-bit ARM opcodes.h references the 32-bit version: $ cat arch/arm64/include/asm/opcodes.h #include <../../arm/include/asm/opcodes.h> Include the 32-bit ARM opcodes.h in kernel-devel so tools like SystemTap can use it (see RHBZ 1291868). Signed-off-by: Jeff Bastian <jbastian@redhat.com>
-rw-r--r--kernel.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel.spec b/kernel.spec
index d1364d43e..a3b7f678e 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -1467,6 +1467,8 @@ BuildKernel() {
%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/
+ # arch/arm64/include/asm/opcodes.h references arch/arm
+ cp -a --parents arch/arm/include/asm/opcodes.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
%endif
# include the machine specific headers for ARM variants, if available.
%ifarch %{arm}