summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorJiyoung Yun <jy910.yun@samsung.com>2015-03-16 15:07:26 +0900
committertaeyoung <ty317.kim@samsung.com>2015-06-11 14:25:27 +0900
commitc4868d52f1a2bc254128f1b1f55553fdb152ad81 (patch)
tree38dc2dd48bfe04e5952d57fddaba3451184a4ed8 /packaging
parentddafb7d6eaedb0fcc669d6c40fe663b7e58fc370 (diff)
downloadlibsvi-c4868d52f1a2bc254128f1b1f55553fdb152ad81.tar.gz
libsvi-c4868d52f1a2bc254128f1b1f55553fdb152ad81.tar.bz2
libsvi-c4868d52f1a2bc254128f1b1f55553fdb152ad81.zip
feedback: Seperate codes between common and mobile profile
feedback-ids.h and feedback.h will be public api on Tizen v2.4. If you need a specific enum for your profile, you can make new file like feedback-ids-[PROFILE].h. Change-Id: Iedcd7092866351a6c0b07fed3060b096e073973a Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com> Signed-off-by: taeyoung <ty317.kim@samsung.com>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/libfeedback.spec8
1 files changed, 5 insertions, 3 deletions
diff --git a/packaging/libfeedback.spec b/packaging/libfeedback.spec
index fee4ff9..5e5682f 100644
--- a/packaging/libfeedback.spec
+++ b/packaging/libfeedback.spec
@@ -53,11 +53,13 @@ cp %{SOURCE2} .
%define ARCH emulator
%endif
-%cmake \
%if "%{?tizen_profile_name}" == "wearable"
- -DMICRO_DD=YES \
+%define PROFILE wearable
+%else if "%{?tizen_profile_name}" == "mobile"
+%define PROFILE mobile
%endif
- . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DARCH=%{ARCH}
+
+%cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DARCH=%{ARCH} -DPROFILE=%{PROFILE}
make
%install