Tizen:Base add python accel macro 40/82840/1
authorHyungGi Lee <hyunggi.lee@samsung.com>
Mon, 8 Aug 2016 05:58:46 +0000 (14:58 +0900)
committerHyungGi Lee <hyunggi.lee@samsung.com>
Mon, 8 Aug 2016 05:58:46 +0000 (14:58 +0900)
Change-Id: I8c2dc65bb706b9ec829a0538a60f342c9c88fa12

Tizen:Base/_config

index 1e3e914..83d3d6e 100644 (file)
@@ -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