summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSooyoung Ha <yoosah.ha@samsung.com>2016-01-08 16:36:33 +0900
committerSooyoung Ha <yoosah.ha@samsung.com>2016-01-08 16:36:33 +0900
commit5eabe3fe1bcb00783e847dec3226c71db3c99534 (patch)
tree52e70167591aa5cb4f02bdf159c70a611f0c174e
parent242af457d7abb871aee9a89b4c4561b91818bb15 (diff)
downloademulator-kernel-5eabe3fe1bcb00783e847dec3226c71db3c99534.tar.gz
emulator-kernel-5eabe3fe1bcb00783e847dec3226c71db3c99534.tar.bz2
emulator-kernel-5eabe3fe1bcb00783e847dec3226c71db3c99534.zip
This package is for emulator. It could cause a build error or conflict if we build this out of emulator repository. So we should build this conditionally to prevent build failure. Change-Id: Ie85564289c0c97774fb45685239e5f8bda7ca00f Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
-rw-r--r--packaging/emulator-kernel.spec8
1 files changed, 7 insertions, 1 deletions
diff --git a/packaging/emulator-kernel.spec b/packaging/emulator-kernel.spec
index 3b7796939b16..51492b755b8a 100644
--- a/packaging/emulator-kernel.spec
+++ b/packaging/emulator-kernel.spec
@@ -1,3 +1,5 @@
+%bcond_with emulator
+
%ifarch %{arm}
%define config_name arm_tizen_emul_defconfig
%define buildarch arm
@@ -22,7 +24,11 @@ Vendor: The Linux Community
URL: http://www.kernel.org
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{PACKAGE_VERSION}-root
-ExclusiveArch: %{ix86} x86_64 armv7l
+%if %{with emulator}
+ExclusiveArch: %{ix86} x86_64
+%else
+ExclusiveArch:
+%endif
%define fullVersion %{version}