From c2deb3a51ff9db861c2cf0f11d8101dea7f28a61 Mon Sep 17 00:00:00 2001 From: Seung-Woo Kim Date: Fri, 5 Aug 2016 14:46:28 +0900 Subject: [PATCH] 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 --- packaging/u-boot-xu3.spec | 4 ++++ packaging/u-boot.spec | 4 ++++ 2 files changed, 8 insertions(+) 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 -- 2.7.4