packaging: exclude build for non proper obs project
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 5 Aug 2016 05:46:28 +0000 (14:46 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 11 Apr 2017 09:58:16 +0000 (18:58 +0900)
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 <sw0312.kim@samsung.com>
packaging/u-boot-xu3.spec
packaging/u-boot.spec

index 1eafa034f607682ee641efb2c854b021af831d80..83a673d4b2fe95365f78f3711c66f7670a714b30 100644 (file)
@@ -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
 
index 86b9029a2bcb244de57d7cce84e16979dc217afd..6f939b85dc09b83f1a24ca679a3d11f8b7d12d12 100644 (file)
@@ -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