From: Seung-Woo Kim Date: Fri, 5 Aug 2016 05:46:28 +0000 (+0900) Subject: packaging: exclude build for non proper obs project X-Git-Tag: accepted/tizen/3.0.m2/mobile/20170105.023941^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Faccepted%2Ftizen_3.0.m2_tv;p=platform%2Fkernel%2Fu-boot.git packaging: exclude build for non proper obs project For both exynos4412 and exynos5 u-boots are not used by non-ARM / AARCH64 projects, wearable projects, or TM1 target project. So, this patch exclude build from not required obs project. Change-Id: I594cf3b8528b61f6ee1366d8429e466d7282a197 Signed-off-by: Seung-Woo Kim --- diff --git a/packaging/u-boot-xu3.spec b/packaging/u-boot-xu3.spec index 1eafa03..83a673d 100644 --- a/packaging/u-boot-xu3.spec +++ b/packaging/u-boot-xu3.spec @@ -13,6 +13,10 @@ BuildRequires: gcc >= 4.8 BuildRequires: flex BuildRequires: bison +%if "%{?tizen_target_name}" == "TM1" || "%{?profile}" == "wearable" +ExcludeArch: %{arm} +%endif + %description u-boot - Tizen bootloader for Embedded boards based on ARM processor diff --git a/packaging/u-boot.spec b/packaging/u-boot.spec index 86b9029..6f939b8 100644 --- a/packaging/u-boot.spec +++ b/packaging/u-boot.spec @@ -13,6 +13,10 @@ BuildRequires: gcc >= 4.8 BuildRequires: flex BuildRequires: bison +%if "%{?tizen_target_name}" == "TM1" || "%{?profile}" == "wearable" +ExcludeArch: %{arm} aarch64 +%endif + %description u-boot - Tizen bootloader for Embedded boards based on ARM processor