From: Sooyoung Ha Date: Fri, 8 Jan 2016 07:36:33 +0000 (+0900) Subject: packging: build header package only for emulator X-Git-Tag: submit/tizen/20160108.083827^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5eabe3fe1bcb00783e847dec3226c71db3c99534;p=sdk%2Femulator%2Femulator-kernel.git packging: build header package only for emulator 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 --- 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}