tizen: Add iotivity namespace for headers 15/89915/3 accepted/tizen/common/20161121.143336 accepted/tizen/ivi/20161121.234802 accepted/tizen/mobile/20161121.234701 accepted/tizen/tv/20161121.234718 accepted/tizen/wearable/20161121.234742 submit/tizen/20161121.001811 submit/tizen/20161121.012034
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Thu, 22 Sep 2016 08:45:45 +0000 (10:45 +0200)
committerPhilippe Coval <philippe.coval@s-opensource.com>
Fri, 4 Nov 2016 09:44:37 +0000 (10:44 +0100)
Currently symlink to parent folder,
 this way it's aligned to yocto recipe.

In longer term it would be nice to rely on scons install rules.

Change-Id: Ie8067c13302ccf92936d599bb4f6b3740d3cf009
Bug: https://jira.iotivity.org/browse/IOT-524
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/12149
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Dave Thaler <dthaler@microsoft.com>
Reviewed-by: Ziran Sun <ziran.sun@samsung.com>
tools/tizen/iotivity.spec

index 9828694..b3518b7 100644 (file)
@@ -238,6 +238,11 @@ cp service/things-manager/sdk/inc/*.h %{buildroot}%{_includedir}
 cp service/easy-setup/inc/*.h %{buildroot}%{_includedir}
 cp service/easy-setup/enrollee/inc/*.h %{buildroot}%{_includedir}
 
+install -d %{buildroot}%{_includedir}/iotivity
+ln -fs ../resource %{buildroot}%{_includedir}/iotivity/
+ln -fs ../service %{buildroot}%{_includedir}/iotivity/
+ln -fs ../c_common %{buildroot}%{_includedir}/iotivity/
+
 
 %post -p /sbin/ldconfig