summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyungGi Lee <hyunggi.lee@samsung.com>2016-08-08 14:58:46 +0900
committerHyungGi Lee <hyunggi.lee@samsung.com>2016-08-08 14:58:46 +0900
commit2a0498bf505122ff26f7102c31a65d1a87598fde (patch)
treeadd920a27fd4325a110175d245a9f0aaf50b08cb
parent3d031c42da6ae434f59591074283c77bf41c407b (diff)
downloadobs-2a0498bf505122ff26f7102c31a65d1a87598fde.tar.gz
obs-2a0498bf505122ff26f7102c31a65d1a87598fde.tar.bz2
obs-2a0498bf505122ff26f7102c31a65d1a87598fde.zip
Tizen:Base add python accel macro
Change-Id: I8c2dc65bb706b9ec829a0538a60f342c9c88fa12
-rw-r--r--Tizen:Base/_config21
1 files changed, 21 insertions, 0 deletions
diff --git a/Tizen:Base/_config b/Tizen:Base/_config
index 1e3e914..83d3d6e 100644
--- a/Tizen:Base/_config
+++ b/Tizen:Base/_config
@@ -90,6 +90,27 @@ Runscripts: qemu-accel-aarch64
Preinstall: libmount libblkid libuuid
%endif # aarch64
+ifarch %arm armv7l aarch64
+%define speedpython 1
+Macros:
+%speedpython 1
+:Macros
+%endif
+
+%if %speedpython
+%ifarch armv7l
+Macros:
+%en_speedpython BuildRequires: python-accel-armv7l
+%no_speedpython BuildRequires: -python-accel-armv7l
+:Macros
+%endif
+
+%ifarch aarch64
+%en_speedpython BuildRequires: python-accel-aarch64
+%no_speedpython BuildRequires: -python-accel-aarch64
+%endif # aarch64
+%endif
+
########## exports for different architectures ##########
ExportFilter: \.armv7l\.rpm$ armv7l