diff options
author | Seung-Woo Kim <sw0312.kim@samsung.com> | 2016-08-04 10:41:22 +0900 |
---|---|---|
committer | Seung-Woo Kim <sw0312.kim@samsung.com> | 2016-12-14 13:52:11 +0900 |
commit | b76eeb0e491d3e840eea552903630f87cf148752 (patch) | |
tree | 4157cccd7a2b9b1cbe3b94940c46083b88f7ec88 /packaging | |
parent | a14514903d4a00a54d1f9ccef0a21d76c5a3e770 (diff) |
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 <sw0312.kim@samsung.com>
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/linux-exynos-tm2.spec | 4 | ||||
-rw-r--r-- | packaging/odroid-linux-kernel.spec | 4 |
2 files changed, 8 insertions, 0 deletions
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 |