summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoram Park <boram1288.park@samsung.com>2015-03-20 21:27:12 +0900
committerBoram Park <boram1288.park@samsung.com>2015-03-20 21:27:12 +0900
commit3322e37ad125d0908c09e291d1d5350fb0740824 (patch)
treefd3ace8a3a67069b96955bd1ae4a7233d5feee51
parent3b2b540a6c211b599d7cf9ace0026572d9fc3ec9 (diff)
downloadweston-3322e37ad125d0908c09e291d1d5350fb0740824.tar.gz
weston-3322e37ad125d0908c09e291d1d5350fb0740824.tar.bz2
weston-3322e37ad125d0908c09e291d1d5350fb0740824.zip
Change-Id: Ie7d47af2f20100cc5ffe64b95473df96dd33cc5a
-rw-r--r--packaging/weston.spec12
1 files changed, 11 insertions, 1 deletions
diff --git a/packaging/weston.spec b/packaging/weston.spec
index 9f15d7e5..40fe93ef 100644
--- a/packaging/weston.spec
+++ b/packaging/weston.spec
@@ -19,6 +19,14 @@
%define extra_config_options4 --disable-default-vkb --enable-transform
%endif
+%if "%{profile}" == "tv"
+%define extra_config_options5 --enable-sys-uid
+%endif
+
+%if "%{profile}" == "mobile"
+%define extra_config_options6 --enable-sys-uid
+%endif
+
Name: weston
Version: 1.6.0
Release: 0
@@ -129,7 +137,9 @@ cp %{SOURCE1001} .
%{?extra_config_options1:%extra_config_options1} \
%{?extra_config_options2:%extra_config_options2} \
%{?extra_config_options3:%extra_config_options3} \
- %{?extra_config_options4:%extra_config_options4}
+ %{?extra_config_options4:%extra_config_options4} \
+ %{?extra_config_options5:%extra_config_options5} \
+ %{?extra_config_options6:%extra_config_options6}
make %{?_smp_mflags}