packaging: removed %arm aarch64 support 95/220995/1 submit/tizen/20200108.133605 submit/tizen/20200109.112051 submit/tizen/20200113.052006
authorDongkyun Son <dongkyun.s@samsung.com>
Thu, 26 Dec 2019 07:15:32 +0000 (16:15 +0900)
committerDongkyun Son <dongkyun.s@samsung.com>
Thu, 26 Dec 2019 07:15:32 +0000 (16:15 +0900)
Change-Id: I94076d97c02adb40b811ec985ad87abd0cbd74be
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
packaging/emulator-kernel.spec

index 200f008..b473e1a 100644 (file)
 %define config_name  tizen_emul_defconfig
 %endif
 
-%ifarch aarch64
-%define buildarch    arm64
-%define config_name  defconfig
-%endif
-
-%ifarch %{arm}
-%define buildarch    arm
-%define config_name  exynos_defconfig
-%endif
-
 %define target_board emulator
 
 # Want to enable initramfs facility to hand modulable kernel (e.g., file systems)?
@@ -67,6 +57,12 @@ BuildRequires: audit-libs-devel
 Provides: %{name} = %{fullVersion}
 Provides: %{name}-uname-r = %{fullVersion}
 
+%if %{with emulator}
+ExclusiveArch: %{ix86} x86_64
+%else
+ExclusiveArch:
+%endif
+
 %description
 This package provides the Linux kernel (vmlinuz,bzImage), the core of any
 Linux-based operating system. The kernel handles the basic functions
@@ -161,11 +157,6 @@ make %{?_smp_mflags} ARCH=%{buildarch} bzImage
 make %{?_smp_mflags} modules
 %endif
 
-# in case of arm/aarch64, just generate header files without real kernel modules (*.ko)
-%ifarch aarch64 %{arm}
-make %{?_smp_mflags} modules_prepare
-%endif
-
 # 1.4 build: perf
 # Note that util/dwarf-aux.c generates build error due to -Werror=implicit-function-declaration
 # and -Werror=nested-externs option of GCC 6.2. Let's skip with -Wno-error option.