- This is for Tizen 4.0
- The profile macro in spec file is dangerous;
Tizen 4.0 Configurability/Building-Blocks prohibits the usage like this.
In this package, they have been useless as well.
softap$ grep -r "TIZEN_WEARABLE" *
packaging/capi-network-softap.spec: -DTIZEN_WEARABLE=1 \
softap$ grep -r "TIZEN_MOBILE" *
packaging/capi-network-softap.spec: -DTIZEN_MOBILE=1 \
softap$
Change-Id: I1ea3faeef0973ab2320c363ba16a95a99b1afac6
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
%cmake -DCMAKE_BUILD_TYPE="Private" \
-%if "%{?profile}" == "wearable"
- -DTIZEN_WEARABLE=1 \
-%else
-%if "%{?profile}" == "mobile"
- -DTIZEN_MOBILE=1 \
-%endif
-%endif
%ifarch %{arm}
-DCMAKE_BUILD_TYPE="Private" -DARCH=arm \
%else