summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeung-Woo Kim <sw0312.kim@samsung.com>2020-12-15 20:00:38 +0900
committerSeung-Woo Kim <sw0312.kim@samsung.com>2020-12-15 20:00:40 +0900
commita413fb4e6481a3650c496a4236335fa717f69138 (patch)
tree5d70cd386c34bc7f925b5271116c3d3d2858e6f6
parentf8e4d2a2b7a5d29dbc40b6b14b2ae3e9d3e457b3 (diff)
downloadlinux-artik7-a413fb4e6481a3650c496a4236335fa717f69138.tar.gz
linux-artik7-a413fb4e6481a3650c496a4236335fa717f69138.tar.bz2
linux-artik7-a413fb4e6481a3650c496a4236335fa717f69138.zip
packaging: artik710: do not remove arm arch from devel packagesubmit/tizen/20201216.031511accepted/tizen/unified/20201216.215949
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 <sw0312.kim@samsung.com>
-rw-r--r--packaging/linux-artik7.spec2
1 files changed, 2 insertions, 0 deletions
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