Restrict product-wise condition for product build only 54/92754/7
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 7 Dec 2016 08:46:45 +0000 (17:46 +0900)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Thu, 29 Dec 2016 01:51:12 +0000 (17:51 -0800)
Do not make different binaries per profile.
(But let's not mind what TV-Production does)

Change-Id: Ic1706b117ecf0362e1b19d1d575d7b5821bad3cb
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
packaging/efl.spec

index df35666..a869eb5 100755 (executable)
@@ -678,7 +678,7 @@ cp %{SOURCE1001} .
 
 %build
 
-%if "%{profile}" == "tv"
+%if "%{TIZEN_PRODUCT_TV}" == "1"
         export CFLAGS+=" -DTIZEN_PROFILE_TV"
 %endif