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>
This commit is contained in:
parent
20d49fec63
commit
ec3031ac73
@ -1459,6 +1459,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}
|
||||
|
Loading…
Reference in New Issue
Block a user