From: Seung-Woo Kim Date: Thu, 4 Aug 2016 01:41:22 +0000 (+0900) Subject: packaging: exclude build for non proper obs project X-Git-Tag: submit/tizen/20160810.050017~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=09be39efb73e23a5234372e62a90f59dbbaf80b6;p=platform%2Fkernel%2Flinux-exynos.git packaging: exclude build for non proper obs project For tm2, it is only required to build for mobile aarch64 and for odroid, it is only reuiqred to build for arm projects except for wearable or mobile tm1 projects. So this patch adds build exclude for each packaging. Change-Id: Iba02f6ceb54a3a813e68095cfff6b6c06e4839fb Signed-off-by: Seung-Woo Kim --- diff --git a/packaging/linux-exynos-tm2.spec b/packaging/linux-exynos-tm2.spec index 2c38bd09a8aa..8244fc47921d 100644 --- a/packaging/linux-exynos-tm2.spec +++ b/packaging/linux-exynos-tm2.spec @@ -23,6 +23,10 @@ BuildRequires: bc BuildRequires: module-init-tools BuildRequires: u-boot-tools >= 2016.03 +%if "%{?profile}" != "mobile" +ExcludeArch: aarch64 +%endif + %description The Linux Kernel, the operating system core itself diff --git a/packaging/odroid-linux-kernel.spec b/packaging/odroid-linux-kernel.spec index 232717f7f83b..32580da03940 100644 --- a/packaging/odroid-linux-kernel.spec +++ b/packaging/odroid-linux-kernel.spec @@ -21,6 +21,10 @@ BuildRequires: module-init-tools BuildRequires: u-boot-tools BuildRequires: bc +%if "%{?tizen_target_name}" == "TM1" || "%{?profile}" == "wearable" +ExcludeArch: %{arm} +%endif + %description The Linux Kernel, the operating system core itself