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: Iefef5fa2365a045bc0e4eb473c0dd0b689454a40
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
+%bcond_with emulator
+
%ifarch %{arm}
%define config_name arm_tizen_emul_defconfig
%define buildarch arm
%define imageName zImage
%else
-%define config_name i386_tizen_emul_defconfig
+%define config_name tizen_emul_defconfig
%define buildarch x86
%define imageName bzImage
%endif
URL: http://www.kernel.org
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{PACKAGE_VERSION}-root
-ExclusiveArch: %{ix86}
+%if %{with emulator}
+ExclusiveArch: %{ix86} x86_64
+%else
+ExclusiveArch:
+%endif
%define fullVersion %{version}