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, 20 Oct 2020 01:35:21 +0000 (10:35 +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 1eafa03..83a673d 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 86b9029..6f939b8 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