From d6d59e55d57a20532fcadd25d8eb061086a6c6b9 Mon Sep 17 00:00:00 2001 From: Dongkyun Son Date: Thu, 26 Dec 2019 16:15:32 +0900 Subject: [PATCH] packaging: removed %arm aarch64 support Change-Id: I94076d97c02adb40b811ec985ad87abd0cbd74be Signed-off-by: Dongkyun Son --- packaging/emulator-kernel.spec | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/packaging/emulator-kernel.spec b/packaging/emulator-kernel.spec index 200f008..b473e1a 100644 --- a/packaging/emulator-kernel.spec +++ b/packaging/emulator-kernel.spec @@ -14,16 +14,6 @@ %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. -- 2.7.4