From a413fb4e6481a3650c496a4236335fa717f69138 Mon Sep 17 00:00:00 2001 From: Seung-Woo Kim Date: Tue, 15 Dec 2020 20:00:38 +0900 Subject: packaging: artik710: do not remove arm arch from devel package ARM64 kernel arch header requires arm header, so removing arm arch from artik710 devel package causes build error. ./arch/arm64/include/asm/opcodes.h:5:10: fatal error: ../../arm/include/asm/opcodes.h: No such file or directory 5 | #include <../../arm/include/asm/opcodes.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Do not remove arm arch from artik710 devel package. Change-Id: Icf20808ebf50c42a9e74bf47d7345884168fa746 Signed-off-by: Seung-Woo Kim --- packaging/linux-artik7.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packaging/linux-artik7.spec b/packaging/linux-artik7.spec index 0e5b097b7a9c..df2f77b71cc7 100644 --- a/packaging/linux-artik7.spec +++ b/packaging/linux-artik7.spec @@ -124,9 +124,11 @@ make INSTALL_PATH=%{buildroot} INSTALL_MOD_PATH=%{buildroot} INSTALL_HDR_PATH=%{ # 5. Restore source and build irectory tar -xf linux-kernel-build-%{variant}.tar -C %{buildroot}/usr/src/linux-kernel-build-%{variant} mv %{buildroot}/usr/src/linux-kernel-build-%{variant}/arch/arm64 . +mv %{buildroot}/usr/src/linux-kernel-build-%{variant}/arch/arm . mv %{buildroot}/usr/src/linux-kernel-build-%{variant}/arch/Kconfig . rm -rf %{buildroot}/usr/src/linux-kernel-build-%{variant}/arch/* mv arm64 %{buildroot}/usr/src/linux-kernel-build-%{variant}/arch/ +mv arm %{buildroot}/usr/src/linux-kernel-build-%{variant}/arch/ mv Kconfig %{buildroot}/usr/src/linux-kernel-build-%{variant}/arch/ # 6. Remove files -- cgit v1.2.3