Hi Philippe,

Thanks for your contributions. I reviewed your patches and also
ran a quick test build, and it all seemed to work OK. I?ve pushed
the patches up to meta-oic. Here are links to the commits:

http://git.yoctoproject.org/cgit/cgit.cgi/meta-oic/commit/?id=828d556cfab98
2bf60ec5b71c9fd82e2b27c35e3


http://git.yoctoproject.org/cgit/cgit.cgi/meta-oic/commit/?id=83a8d36db5ba0
fd9dea2daf0e16d286727aaebf8


http://git.yoctoproject.org/cgit/cgit.cgi/meta-oic/commit/?id=61eca3e3a3b5e
9d5000fff931702a2cb97126e5e


I see that you?re maintaining a meta-oic mirror on github
for Tizen (?). I?d encourage you to base your work off the upstream
repo on yoctoproject.org.

Thanks,
-Kishen.


-
Kishen Maloor
Intel Open Source Technology Center




On 9/14/16, 7:09 AM, "Philippe Coval" <philippe.coval at osg.samsung.com>
wrote:

>* Inspired from Kishen Maloor's iotivity_1.1.0.bb.
>* Note this version of recipe
>  is using upstream's git repo as source
>  because it's better for upstream/downstream cooperation
>  More details at:
>  https://wiki.iotivity.org/yocto
>* Update to upstream "1.1-rel" maintenance branch
>  - QA checks are fixed
>    to support Yocto jethro base and later,
>    without it packaging task will fail and report this message :
>    ERROR: QA Issue: No GNU_HASH in the elf binary
>* Tinycobor is updated to v0.2.1.
>* Gtest is now statically linked.
>* Security is still not enabled,
>  but can be easly enabled with "SECURED=1" scons's flag.
>
>Change-Id: Ib6f69c24434615d178ccef15cad96142e2b837aa
>Bug: https://jira.iotivity.org/browse/IOT-1111
>Cc: iotivity-dev at lists.iotivity.org
>Cc: yocto at yoctoproject.org
>Credit-to: Kishen Maloor <kishen.maloor at intel.com>
>Origin: https://github.com/tizenteam/meta-oic
>Signed-off-by: Philippe Coval <philippe.coval at osg.samsung.com>
>---
>As promised, I commited the needed fixes upstream.
>I tested this patchset on poky master branch.
>along generic, intel and artik BSPs.
>
>More details to come at:
>https://wiki.iotivity.org/yocto
>
>ChangeLog:
>
>* v1: use INSANE_SKIP to workaround QA check
>  https://lists.yoctoproject.org/pipermail/yocto/2016-August/031441.html
>  https://lists.yoctoproject.org/pipermail/yocto/2016-August/031471.html
>* v2: rebase on upstream 1.1-rel maintenance branch (with fixes)
>  needs also QA fixes on examples (but can be commited in any order)
>  security can be enabled
>  couple of improvements
>
>
> recipes-core/iotivity/iotivity_1.1.1.bb | 503
>++++++++++++++++++++++++++++++++
> 1 file changed, 503 insertions(+)
> create mode 100644 recipes-core/iotivity/iotivity_1.1.1.bb
>
>diff --git a/recipes-core/iotivity/iotivity_1.1.1.bb
>b/recipes-core/iotivity/iotivity_1.1.1.bb
>new file mode 100644
>index 0000000..792411b
>--- /dev/null
>+++ b/recipes-core/iotivity/iotivity_1.1.1.bb
>@@ -0,0 +1,503 @@
>+PR = "r1"
>+SUMMARY = "IoTivity framework and SDK sponsored by the Open Connectivity
>Foundation."
>+DESCRIPTION = "IoTivity is an open source software framework enabling
>seamless device-to-device connectivity to address the emerging needs of
>the Internet of Things."
>+HOMEPAGE = "https://www.iotivity.org/";
>+DEPENDS = "boost virtual/gettext chrpath-replacement-native expat
>openssl util-linux curl glib-2.0"
>+EXTRANATIVEPATH += "chrpath-native"
>+SECTION = "libs"
>+LICENSE = "Apache-2.0"
>+LIC_FILES_CHKSUM =
>"file://resource/include/OCApi.h;beginline=1;endline=19;md5=fc5a615cf1dc38
>80967127bc853b3e0c"
>+
>+url_iotivity = "git://github.com/iotivity/iotivity.git"
>+branch_iotivity = "1.1-rel"
>+SRCREV = "972ef41a25624501d7cd13a18a9f49be90b9c2d1"
>+SRC_URI = 
>"${url_iotivity};destsuffix=${S};branch=${branch_iotivity};protocol=http;"
>+
>+url_tinycbor = "git://github.com/01org/tinycbor.git"
>+SRCREV_tinycbor = "358a7e42ab1ed421a68e699d8d8359340bcfacbd"
>+SRC_URI += 
>"${url_tinycbor};name=tinycbor;destsuffix=${S}/extlibs/tinycbor/tinycbor;p
>rotocol=http"
>+
>+url_gtest = 
>"http://pkgs.fedoraproject.org/repo/pkgs/gtest/gtest-1.7.0.zip/2d6ec8ccdf5
>c46b05ba54a9fd1d130d7/gtest-1.7.0.zip"
>+SRC_URI[gtest.md5sum] = "2d6ec8ccdf5c46b05ba54a9fd1d130d7"
>+SRC_URI[gtest.sha256sum] =
>"247ca18dd83f53deb1328be17e4b1be31514cedfc1e3424f672bf11fd7e0d60d"
>+SRC_URI += "${url_gtest};name=gtest;subdir=${BP}/extlibs/gtest"
>+
>+url_hippomocks = "git://github.com/dascandy/hippomocks.git"
>+SRCREV_hippomocks = "dca4725496abb0e41f8b582dec21d124f830a8e5"
>+SRC_URI += 
>"${url_hippomocks};name=hippomocks;destsuffix=${S}/extlibs/hippomocks-mast
>er;protocol=http"
>+
>+url_sqlite = "http://www.sqlite.org/2015/sqlite-amalgamation-3081101.zip";
>+SRC_URI[sqlite3.md5sum] = "94907e831502e2080b76e281cfa24dde"
>+SRC_URI[sqlite3.sha256sum] =
>"a3b0c07d1398d60ae9d21c2cc7f9be6b1bc5b0168cd94c321ede9a0fce2b3cd7"
>+SRC_URI += 
>"${url_sqlite};name=sqlite3;subdir=${BP}/extlibs/sqlite3;unpack=false"
>+
>+inherit scons
>+
>+
>+python () {
>+    IOTIVITY_TARGET_ARCH = d.getVar("TARGET_ARCH", True)
>+    d.setVar("IOTIVITY_TARGET_ARCH", IOTIVITY_TARGET_ARCH)
>+    EXTRA_OESCONS = d.getVar("EXTRA_OESCONS", True)
>+    EXTRA_OESCONS += " TARGET_OS=yocto TARGET_ARCH=" +
>IOTIVITY_TARGET_ARCH + " RELEASE=1"
>+    EXTRA_OESCONS += " ROUTING=GW"
>+    EXTRA_OESCONS += " VERBOSE=1"
>+    # Enable security here or elsewhere but should be in this "=1" form:
>+    # EXTRA_OESCONS += " SECURED=1"
>+    EXTRA_OESCONS += " WITH_RD=1"
>+    d.setVar("EXTRA_OESCONS", EXTRA_OESCONS)
>+}
>+
>+
>+IOTIVITY_BIN_DIR = "/opt/${PN}"
>+IOTIVITY_BIN_DIR_D = "${D}${IOTIVITY_BIN_DIR}"
>+
>+do_compile_prepend() {
>+    export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}"
>+    export 
>PKG_CONFIG="PKG_CONFIG_SYSROOT_DIR=\"${PKG_CONFIG_SYSROOT_DIR}\"
>pkg-config"
>+    export LD_FLAGS="${LD_FLAGS}"
>+}
>+
>+make_dir() {
>+    install -d $1
>+}
>+
>+copy_file() {
>+    install -c -m 444 $1 $2
>+}
>+
>+copy_exec() {
>+    install -c -m 555 $1 $2
>+}
>+
>+copy_file_recursive() {
>+    cd $1 && find . -type d -exec install -d $2/"{}" \;
>+    cd $1 && find . -type f -exec install -c -m 444 "{}" $2/"{}" \;
>+}
>+
>+copy_exec_recursive() {
>+    cd $1 && find . -executable -exec install -c -m 555 "{}" $2/"{}" \;
>+}
>+
>+do_install() {
>+    make_dir ${D}${libdir}
>+    #Resource
>+    #C++ APIs
>+    copy_file ${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/liboc.so
>${D}${libdir}
>+    if ${@bb.utils.contains('EXTRA_OESCONS', 'SECURED=1', 'true',
>'false', d)}; then
>+        copy_file
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/provisioning/liboc
>provision.so ${D}${libdir}
>+    fi
>+
>+    #Logger
>+    copy_file 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/liboc_logger.so
>${D}${libdir}
>+    copy_file 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/liboc_logger_core.so
>${D}${libdir}
>+
>+    #CSDK Shared
>+    copy_file 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/liboctbstack.so
>${D}${libdir}
>+
>+    #CSDK Static
>+    copy_file 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/libconnectivity_abstraction
>.a ${D}${libdir}
>+    copy_file ${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/libcoap.a
>${D}${libdir}
>+    copy_file 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/liboctbstack.a
>${D}${libdir}
>+    copy_file 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/libc_common.a ${D}${libdir}
>+    copy_file ${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/libocsrm.a
>${D}${libdir}
>+    copy_file 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/libroutingmanager.a
>${D}${libdir}
>+
>+    #Resource C++ Apps
>+    make_dir ${IOTIVITY_BIN_DIR_D}/examples/resource/cpp
>+    copy_file 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/examples/oic_svr_d
>b_client.dat ${IOTIVITY_BIN_DIR_D}/examples/resource/cpp
>+    copy_file 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/examples/oic_svr_d
>b_server.dat ${IOTIVITY_BIN_DIR_D}/examples/resource/cpp
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/examples/presencec
>lient ${IOTIVITY_BIN_DIR_D}/examples/resource/cpp
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/examples/presences
>erver ${IOTIVITY_BIN_DIR_D}/examples/resource/cpp
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/examples/groupclie
>nt ${IOTIVITY_BIN_DIR_D}/examples/resource/cpp
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/examples/groupserv
>er ${IOTIVITY_BIN_DIR_D}/examples/resource/cpp
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/examples/roomclien
>t ${IOTIVITY_BIN_DIR_D}/examples/resource/cpp
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/examples/roomserve
>r ${IOTIVITY_BIN_DIR_D}/examples/resource/cpp
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/examples/simplecli
>ent ${IOTIVITY_BIN_DIR_D}/examples/resource/cpp
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/examples/simplecli
>entserver ${IOTIVITY_BIN_DIR_D}/examples/resource/cpp
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/examples/simpleser
>ver ${IOTIVITY_BIN_DIR_D}/examples/resource/cpp
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/examples/fridgecli
>ent ${IOTIVITY_BIN_DIR_D}/examples/resource/cpp
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/examples/fridgeser
>ver ${IOTIVITY_BIN_DIR_D}/examples/resource/cpp
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/examples/garagecli
>ent ${IOTIVITY_BIN_DIR_D}/examples/resource/cpp
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/examples/garageser
>ver ${IOTIVITY_BIN_DIR_D}/examples/resource/cpp
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/examples/simplecli
>entHQ ${IOTIVITY_BIN_DIR_D}/examples/resource/cpp
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/examples/simpleser
>verHQ ${IOTIVITY_BIN_DIR_D}/examples/resource/cpp
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/examples/devicedis
>coveryserver ${IOTIVITY_BIN_DIR_D}/examples/resource/cpp
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/examples/devicedis
>coveryclient ${IOTIVITY_BIN_DIR_D}/examples/resource/cpp
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/examples/threading
>sample ${IOTIVITY_BIN_DIR_D}/examples/resource/cpp
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/examples/lightserv
>er ${IOTIVITY_BIN_DIR_D}/examples/resource/cpp
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/examples/OICMiddle/OICMiddl
>e ${IOTIVITY_BIN_DIR_D}/examples/resource/cpp
>+    chrpath -d `find ${IOTIVITY_BIN_DIR_D}/examples/resource/cpp/ -type
>f -perm /u+x`
>+
>+    #Resource CSDK Apps
>+    make_dir ${IOTIVITY_BIN_DIR_D}/examples/resource/c/SimpleClientServer
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/csdk/stack/samples
>/linux/SimpleClientServer/occlientcoll
>${IOTIVITY_BIN_DIR_D}/examples/resource/c/SimpleClientServer
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/csdk/stack/samples
>/linux/SimpleClientServer/ocrouting
>${IOTIVITY_BIN_DIR_D}/examples/resource/c/SimpleClientServer
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/csdk/stack/samples
>/linux/SimpleClientServer/ocserver
>${IOTIVITY_BIN_DIR_D}/examples/resource/c/SimpleClientServer
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/csdk/stack/samples
>/linux/SimpleClientServer/ocserverbasicops
>${IOTIVITY_BIN_DIR_D}/examples/resource/c/SimpleClientServer
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/csdk/stack/samples
>/linux/SimpleClientServer/occlientslow
>${IOTIVITY_BIN_DIR_D}/examples/resource/c/SimpleClientServer
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/csdk/stack/samples
>/linux/SimpleClientServer/ocserverslow
>${IOTIVITY_BIN_DIR_D}/examples/resource/c/SimpleClientServer
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/csdk/stack/samples
>/linux/SimpleClientServer/occlientbasicops
>${IOTIVITY_BIN_DIR_D}/examples/resource/c/SimpleClientServer
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/csdk/stack/samples
>/linux/SimpleClientServer/ocservercoll
>${IOTIVITY_BIN_DIR_D}/examples/resource/c/SimpleClientServer
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/csdk/stack/samples
>/linux/SimpleClientServer/occlient
>${IOTIVITY_BIN_DIR_D}/examples/resource/c/SimpleClientServer
>+    chrpath -d 
>${IOTIVITY_BIN_DIR_D}/examples/resource/c/SimpleClientServer/*
>+
>+    make_dir ${IOTIVITY_BIN_DIR_D}/examples/resource/c/secure
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/csdk/stack/samples
>/linux/secure/ocamsservice
>${IOTIVITY_BIN_DIR_D}/examples/resource/c/secure
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/csdk/stack/samples
>/linux/secure/ocserverbasicops
>${IOTIVITY_BIN_DIR_D}/examples/resource/c/secure
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/csdk/stack/samples
>/linux/secure/occlientbasicops
>${IOTIVITY_BIN_DIR_D}/examples/resource/c/secure
>+    copy_file 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/csdk/stack/samples
>/linux/secure/oic_svr_db_client.dat
>${IOTIVITY_BIN_DIR_D}/examples/resource/c/secure
>+    copy_file 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/csdk/stack/samples
>/linux/secure/oic_svr_db_server.dat
>${IOTIVITY_BIN_DIR_D}/examples/resource/c/secure
>+
>+    #Resource Tests
>+    make_dir ${IOTIVITY_BIN_DIR_D}/tests/resource
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/c_common/ocrandom/
>test/randomtests ${IOTIVITY_BIN_DIR_D}/tests/resource/ocrandom_tests
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/unittests/unittest
>s ${IOTIVITY_BIN_DIR_D}/tests/resource/oc_unittests
>+    copy_file 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/unittests/oic_svr_
>db_client.dat ${IOTIVITY_BIN_DIR_D}/tests/resource
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/csdk/stack/test/st
>acktests ${IOTIVITY_BIN_DIR_D}/tests/resource/octbstack_tests
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/csdk/connectivity/
>test/catests ${IOTIVITY_BIN_DIR_D}/tests/resource/ca_tests
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/oc_logger/examples
>/examples_cpp ${IOTIVITY_BIN_DIR_D}/tests/resource/logger_test_cpp
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/oc_logger/examples
>/examples_c ${IOTIVITY_BIN_DIR_D}/tests/resource/logger_test_c
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/resource/csdk/security/unit
>test/unittest ${IOTIVITY_BIN_DIR_D}/tests/resource/security_tests
>+
>+    #Resource headers
>+    make_dir ${D}${includedir}/iotivity/resource/stack/
>+    make_dir ${D}${includedir}/iotivity/resource/logger/
>+    make_dir ${D}${includedir}/iotivity/resource/connectivity/api
>+    make_dir ${D}${includedir}/iotivity/resource/connectivity/external
>+    make_dir ${D}${includedir}/iotivity/resource/connectivity/common
>+    make_dir ${D}${includedir}/iotivity/resource/security/
>+    make_dir ${D}${includedir}/iotivity/resource/ocrandom/
>+    make_dir ${D}${includedir}/iotivity/resource/oc_logger/
>+
>+    copy_file_recursive ${S}/resource/include
>${D}${includedir}/iotivity/resource
>+    copy_file_recursive ${S}/resource/csdk/stack/include
>${D}${includedir}/iotivity/resource/stack
>+    copy_file_recursive ${S}/resource/csdk/logger/include
>${D}${includedir}/iotivity/resource/logger
>+    copy_file_recursive ${S}/resource/csdk/connectivity/inc
>${D}${includedir}/iotivity/resource/connectivity
>+    copy_file_recursive ${S}/resource/csdk/connectivity/api
>${D}${includedir}/iotivity/resource/connectivity/api
>+    copy_file_recursive ${S}/resource/csdk/connectivity/common/inc
>${D}${includedir}/iotivity/resource/connectivity/common
>+    copy_file_recursive ${S}/resource/csdk/security/include
>${D}${includedir}/iotivity/resource/security
>+    copy_file_recursive ${S}/resource/c_common/ocrandom/include
>${D}${includedir}/iotivity/resource/ocrandom
>+    copy_file_recursive ${S}/resource/oc_logger/include
>${D}${includedir}/iotivity/resource/oc_logger
>+    copy_file ${S}/resource/c_common/oic_string/include/oic_string.h
>${D}${includedir}/iotivity/resource
>+    copy_file ${S}/resource/c_common/oic_malloc/include/oic_malloc.h
>${D}${includedir}/iotivity/resource
>+
>+    #ZigBee Plugin
>+    #Libraries
>+    copy_file 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/libzigbee_wrapper.a
>${D}${libdir}
>+    copy_file 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/libtelegesis_wrapper.a
>${D}${libdir}
>+    copy_file 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/libplugin_interface.a
>${D}${libdir}
>+
>+    #Headers
>+    make_dir ${D}${includedir}/iotivity/plugins
>+    copy_file_recursive ${S}/plugins/include
>${D}${includedir}/iotivity/plugins
>+
>+    #Samples
>+    make_dir ${IOTIVITY_BIN_DIR_D}/examples/plugins/zigbee/
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/plugins/samples/linux/iotiv
>ityandzigbeeserver ${IOTIVITY_BIN_DIR_D}/examples/plugins/zigbee
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/plugins/samples/linux/iotiv
>ityandzigbeeclient ${IOTIVITY_BIN_DIR_D}/examples/plugins/zigbee
>+    chrpath -d ${IOTIVITY_BIN_DIR_D}/examples/plugins/zigbee/*
>+
>+    #Tests
>+    make_dir ${IOTIVITY_BIN_DIR_D}/tests/plugins/zigbee/
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/plugins/unittests/piunittes
>ts ${IOTIVITY_BIN_DIR_D}/tests/plugins/zigbee
>+    chrpath -d ${IOTIVITY_BIN_DIR_D}/tests/plugins/zigbee/*
>+
>+    #Service Components
>+    #Resource container
>+    copy_file 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/librcs_container.so
>${D}${libdir}
>+    copy_file 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/librcs_container.a
>${D}${libdir}
>+    copy_file 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/libBMISensorBundle.so
>${D}${libdir}
>+    copy_file 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/libDISensorBundle.so
>${D}${libdir}
>+    copy_file 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/libHueBundle.so
>${D}${libdir}
>+
>+    #Resource container sample apps
>+    make_dir ${IOTIVITY_BIN_DIR_D}/examples/service/resource-container/
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/service/resource-container/
>HeightSensorApp ${IOTIVITY_BIN_DIR_D}/examples/service/resource-container/
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/service/resource-container/
>THSensorApp ${IOTIVITY_BIN_DIR_D}/examples/service/resource-container/
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/service/resource-container/
>THSensorApp1 ${IOTIVITY_BIN_DIR_D}/examples/service/resource-container/
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/service/resource-container/
>WeightSensorApp ${IOTIVITY_BIN_DIR_D}/examples/service/resource-container/
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/service/resource-container/
>ContainerSample ${IOTIVITY_BIN_DIR_D}/examples/service/resource-container/
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/service/resource-container/
>ContainerSampleClient
>${IOTIVITY_BIN_DIR_D}/examples/service/resource-container/
>+    copy_file 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/service/resource-container/
>examples/ResourceContainerConfig.xml
>${IOTIVITY_BIN_DIR_D}/examples/service/resource-container/
>+
>+    #Resource container tests
>+    make_dir ${IOTIVITY_BIN_DIR_D}/tests/service/resource-container
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/service/resource-container/
>unittests/container_test
>${IOTIVITY_BIN_DIR_D}/tests/service/resource-container
>+    copy_file 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/service/resource-container/
>unittests/libTestBundle.so
>${IOTIVITY_BIN_DIR_D}/tests/service/resource-container
>+    copy_file 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/service/resource-container/
>unittests/ResourceContainerInvalidConfig.xml
>${IOTIVITY_BIN_DIR_D}/tests/service/resource-container
>+    copy_file 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/service/resource-container/
>unittests/ResourceContainerTestConfig.xml
>${IOTIVITY_BIN_DIR_D}/tests/service/resource-container
>+    copy_file 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/service/resource-container/
>unittests/libTestBundle.so ${D}${libdir}
>+
>+    #Resource encapsulation
>+    copy_file 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/librcs_client.so
>${D}${libdir}
>+    copy_file 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/librcs_client.a
>${D}${libdir}
>+
>+    #Resource encapsulation common
>+    copy_file 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/librcs_common.so
>${D}${libdir}
>+    copy_file 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/librcs_common.a
>${D}${libdir}
>+
>+    #Resource encapsulation server builder
>+    copy_file 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/librcs_server.so
>${D}${libdir}
>+    copy_file 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/librcs_server.a
>${D}${libdir}
>+
>+    #Resource encapsulation sample apps
>+    make_dir 
>${IOTIVITY_BIN_DIR_D}/examples/service/resource-encapsulation
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/service/resource-encapsulat
>ion/examples/linux/sampleResourceClient
>${IOTIVITY_BIN_DIR_D}/examples/service/resource-encapsulation
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/service/resource-encapsulat
>ion/examples/linux/sampleResourceServer
>${IOTIVITY_BIN_DIR_D}/examples/service/resource-encapsulation
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/service/resource-encapsulat
>ion/examples/linux/nestedAttributesClient
>${IOTIVITY_BIN_DIR_D}/examples/service/resource-encapsulation
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/service/resource-encapsulat
>ion/examples/linux/nestedAttributesServer
>${IOTIVITY_BIN_DIR_D}/examples/service/resource-encapsulation
>+
>+    #Resource encapsulation test
>+    make_dir 
>${IOTIVITY_BIN_DIR_D}/tests/service/resource-encapsulation/resource-broker
>+    make_dir 
>${IOTIVITY_BIN_DIR_D}/tests/service/resource-encapsulation/resource-cache
>+    make_dir 
>${IOTIVITY_BIN_DIR_D}/tests/service/resource-encapsulation/common
>+    make_dir 
>${IOTIVITY_BIN_DIR_D}/tests/service/resource-encapsulation/server-builder
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/service/resource-encapsulat
>ion/unittests/rcs_client_test
>${IOTIVITY_BIN_DIR_D}/tests/service/resource-encapsulation
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/service/resource-encapsulat
>ion/src/resourceBroker/unittest/broker_test
>${IOTIVITY_BIN_DIR_D}/examples/service/resource-encapsulation/resource-bro
>ker
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/service/resource-encapsulat
>ion/src/resourceCache/unittests/cache_test
>${IOTIVITY_BIN_DIR_D}/examples/service/resource-encapsulation/resource-cac
>he
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/service/resource-encapsulat
>ion/src/common/rcs_common_test
>${IOTIVITY_BIN_DIR_D}/examples/service/resource-encapsulation/common
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/service/resource-encapsulat
>ion/src/serverBuilder/rcs_server_test
>${IOTIVITY_BIN_DIR_D}/examples/service/resource-encapsulation/server-build
>er
>+
>+    #Resource hosting
>+    copy_file 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/libresource_hosting.a
>${D}${libdir}
>+
>+    #Resource hosting sample app
>+    make_dir ${IOTIVITY_BIN_DIR_D}/examples/service/resource-hosting
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/service/resource-hosting/Sa
>mpleApp/linux/sampleconsumer
>${IOTIVITY_BIN_DIR_D}/examples/service/resource-hosting
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/service/resource-hosting/Sa
>mpleApp/linux/sampleprovider
>${IOTIVITY_BIN_DIR_D}/examples/service/resource-hosting
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/service/resource-hosting/Sa
>mpleApp/linux/sampleresourcehosting
>${IOTIVITY_BIN_DIR_D}/examples/service/resource-hosting
>+
>+    #Things manager
>+    copy_file 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/libTGMSDKLibrary.so
>${D}${libdir}
>+    copy_file 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/libTGMSDKLibrary.a
>${D}${libdir}
>+
>+    #Things manager apps
>+    make_dir 
>${IOTIVITY_BIN_DIR_D}/examples/service/things-manager/configuration
>+    copy_exec_recursive
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/service/things-manager/samp
>leapp/linux/configuration
>${IOTIVITY_BIN_DIR_D}/examples/service/things-manager/configuration
>+
>+    #Things manager test
>+    make_dir ${IOTIVITY_BIN_DIR_D}/tests/service/things-manager
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/service/things-manager/unit
>tests/ThingsManagerTest ${IOTIVITY_BIN_DIR_D}/tests/service/things-manager
>+
>+    #Resource directory
>+    copy_file 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/libresource_directory.a
>${D}${libdir}
>+
>+    #Resource directory samples
>+    make_dir ${IOTIVITY_BIN_DIR_D}/examples/service/resource-directory
>+    copy_exec_recursive
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/service/resource-directory/
>samples ${IOTIVITY_BIN_DIR_D}/examples/service/resource-directory
>+    chrpath -d 
>${IOTIVITY_BIN_DIR_D}/examples/service/resource-directory/*
>+
>+    #Easy setup
>+    copy_file 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/libESMediatorCSDK.so
>${D}${libdir}
>+    copy_file 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/libESMediatorRich.so
>${D}${libdir}
>+    chrpath -d ${D}${libdir}/*.so
>+
>+    #Easy setup app
>+    make_dir ${IOTIVITY_BIN_DIR_D}/examples/service/easy-setup
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/service/easy-setup/sampleap
>p/mediator/linux/csdk_sample/mediator_c
>${IOTIVITY_BIN_DIR_D}/examples/service/easy-setup
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/service/easy-setup/sampleap
>p/mediator/linux/richsdk_sample/mediator_rich
>${IOTIVITY_BIN_DIR_D}/examples/service/easy-setup
>+
>+    #Easy setup tests
>+    make_dir ${IOTIVITY_BIN_DIR_D}/tests/service/easy-setup
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/service/easy-setup/mediator
>/csdk/unittests/mediator_csdk_test
>${IOTIVITY_BIN_DIR_D}/tests/service/easy-setup
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/service/easy-setup/mediator
>/richsdk/unittests/mediator_richsdk_test
>${IOTIVITY_BIN_DIR_D}/tests/service/easy-setup
>+
>+    #Scene manager
>+    copy_file 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/libscene_manager.a
>${D}${libdir}
>+
>+    #Scene manager apps
>+    make_dir ${IOTIVITY_BIN_DIR_D}/examples/service/scene-manager
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/service/scene-manager/sampl
>eapp/linux/fanserver ${IOTIVITY_BIN_DIR_D}/examples/service/scene-manager
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/service/scene-manager/sampl
>eapp/linux/lightserver
>${IOTIVITY_BIN_DIR_D}/examples/service/scene-manager
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/service/scene-manager/sampl
>eapp/linux/sceneclient
>${IOTIVITY_BIN_DIR_D}/examples/service/scene-manager
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/service/scene-manager/sampl
>eapp/linux/sceneserver
>${IOTIVITY_BIN_DIR_D}/examples/service/scene-manager
>+
>+    #Scene manager tests
>+    make_dir ${IOTIVITY_BIN_DIR_D}/tests/service/scene-manager
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/scene_action_test
>${IOTIVITY_BIN_DIR_D}/tests/service/scene-manager
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/scene_collection_test
>${IOTIVITY_BIN_DIR_D}/tests/service/scene-manager
>+    copy_exec 
>${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/scene_list_test
>${IOTIVITY_BIN_DIR_D}/tests/service/scene-manager
>+    copy_exec ${S}/out/yocto/${IOTIVITY_TARGET_ARCH}/release/scene_test
>${IOTIVITY_BIN_DIR_D}/tests/service/scene-manager
>+
>+    #Service Headers
>+    make_dir ${D}${includedir}/iotivity/service/resource-container/
>+    make_dir ${D}${includedir}/iotivity/service/resource-encapsulation/
>+    make_dir ${D}${includedir}/iotivity/service/resource-hosting/
>+    make_dir ${D}${includedir}/iotivity/service/resource-directory/
>+    make_dir ${D}${includedir}/iotivity/service/things-manager/
>+    make_dir ${D}${includedir}/iotivity/service/easy-setup/enrollee/
>+    make_dir ${D}${includedir}/iotivity/service/easy-setup/mediator/csdk/
>+    make_dir 
>${D}${includedir}/iotivity/service/easy-setup/mediator/richsdk/
>+    make_dir ${D}${includedir}/iotivity/service/scene-manager/
>+
>+    #Resource container
>+    copy_file_recursive ${S}/service/resource-container/include
>${D}${includedir}/iotivity/service/resource-container
>+
>+    #Resource Encapsulation
>+    copy_file_recursive ${S}/service/resource-encapsulation/include
>${D}${includedir}/iotivity/service/resource-encapsulation
>+    copy_file_recursive
>${S}/service/resource-encapsulation/src/common/expiryTimer/include
>${D}${includedir}/iotivity/service/resource-encapsulation
>+    copy_file_recursive
>${S}/service/resource-encapsulation/src/common/primitiveResource/include
>${D}${includedir}/iotivity/service/resource-encapsulation
>+    copy_file_recursive
>${S}/service/resource-encapsulation/src/common/utils/include
>${D}${includedir}/iotivity/service/resource-encapsulation
>+    copy_file_recursive
>${S}/service/resource-encapsulation/src/resourceBroker/include
>${D}${includedir}/iotivity/service/resource-encapsulation
>+    copy_file_recursive
>${S}/service/resource-encapsulation/src/resourceCache/include
>${D}${includedir}/iotivity/service/resource-encapsulation
>+    copy_file_recursive
>${S}/service/resource-encapsulation/src/serverBuilder/include
>${D}${includedir}/iotivity/service/resource-encapsulation
>+
>+    #Resource hosting
>+    copy_file_recursive ${S}/service/resource-hosting/include
>${D}${includedir}/iotivity/service/resource-hosting
>+
>+    #Resource directory
>+    copy_file_recursive ${S}/service/resource-directory/include
>${D}${includedir}/iotivity/service/resource-directory
>+
>+    #Things manager
>+    copy_file_recursive ${S}/service/things-manager/sdk/inc
>${D}${includedir}/iotivity/service/things-manager
>+
>+    #Easy setup
>+    copy_file_recursive ${S}/service/easy-setup/inc
>${D}${includedir}/iotivity/service/easy-setup
>+    copy_file_recursive ${S}/service/easy-setup/mediator/csdk/inc/
>${D}${includedir}/iotivity/service/easy-setup/mediator/csdk/
>+    copy_file_recursive ${S}/service/easy-setup/mediator/richsdk/inc/
>${D}${includedir}/iotivity/service/easy-setup/mediator/richsdk/
>+
>+    #Scene manager
>+    copy_file_recursive ${S}/service/scene-manager/include
>${D}${includedir}/iotivity/service/scene-manager/
>+
>+    #Misc headers
>+    make_dir ${D}${includedir}/iotivity/extlibs/cjson
>+    make_dir ${D}${includedir}/iotivity/extlibs/timer
>+    copy_file ${S}/extlibs/cjson/cJSON.h
>${D}${includedir}/iotivity/extlibs/cjson
>+    copy_file ${S}/extlibs/timer/timer.h
>${D}${includedir}/iotivity/extlibs/timer
>+    copy_file ${S}/resource/c_common/platform_features.h
>${D}${includedir}/iotivity/resource
>+    copy_file ${S}/resource/c_common/platform_features.h
>${D}${includedir}/iotivity/resource/stack
>+}
>+
>+#IOTIVITY packages:
>+#Resource: iotivity-resource, iotivity-resource-dev,
>iotivity-resource-thin-staticdev, iotivity-resource-dbg
>+#Resource Samples: iotivity-resource-samples,
>iotivity-resource-samples-dbg
>+#Service: iotivity-service, iotivity-service-dev,
>iotivity-service-staticdev, iotivity-service-dbg
>+#Service Samples: iotivity-service-samples, iotivity-service-samples-dbg
>+#Tests: iotivity-tests, iotivity-tests-dbg
>+
>+FILES_${PN}-resource-dev = "\
>+        ${includedir}/iotivity/resource \
>+        ${inclidedir}/iotivity/extlibs"
>+
>+FILES_${PN}-resource-thin-staticdev = "\
>+        ${libdir}/libocsrm.a \
>+        ${libdir}/libconnectivity_abstraction.a \
>+        ${libdir}/liboctbstack.a \
>+        ${libdir}/libcoap.a \
>+        ${libdir}/libc_common.a \
>+        ${libdir}/libroutingmanager.a \
>+        ${libdir}/libtimer.a"
>+
>+FILES_${PN}-plugins-staticdev = "\
>+        ${includedir}/iotivity/plugins \
>+        ${libdir}/libplugin_interface.a \
>+        ${libdir}/libzigbee_wrapper.a \
>+        ${libdir}/libtelegesis_wrapper.a"
>+
>+FILES_${PN}-plugins-dbg = "\
>+        
>${prefix}/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/${PN}-${PV}/plugins"
>+
>+FILES_${PN}-resource = "\
>+        ${libdir}/liboc.so \
>+        ${libdir}/liboctbstack.so \
>+        ${libdir}/liboc_logger.so \
>+        ${libdir}/liboc_logger_core.so \
>+        ${@bb.utils.contains('EXTRA_OESCONS', 'SECURED=1', 
>'${libdir}/libocprovision.so', '', d)}"
>+
>+FILES_${PN}-resource-dbg = "\
>+        
>${prefix}/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/${PN}-${PV}/resource \
>+        
>${prefix}/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/${PN}-${PV}/extlibs \
>+        
>${prefix}/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/${PN}-${PV}/examples \
>+        ${prefix}/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/${PN}-${PV}/out 
>\
>+        ${libdir}/.debug/liboc.so \
>+        ${libdir}/.debug/liboctbstack.so \
>+        ${libdir}/.debug/liboc_logger.so \
>+        ${libdir}/.debug/liboc_logger_core.so \
>+        ${@bb.utils.contains('EXTRA_OESCONS', 'SECURED=1', 
>'${libdir}/.debug/libocprovision.so', '', d)}"
>+
>+FILES_${PN}-resource-samples-dbg = "\
>+        ${IOTIVITY_BIN_DIR}/examples/resource/cpp/.debug \
>+        
>${IOTIVITY_BIN_DIR}/examples/resource/c/SimpleClientServer/.debug \
>+        ${IOTIVITY_BIN_DIR}/examples/resource/c/secure/.debug"
>+
>+FILES_${PN}-resource-samples = "\
>+        ${IOTIVITY_BIN_DIR}/examples/resource"
>+
>+FILES_${PN}-plugins-samples = "\
>+        ${IOTIVITY_BIN_DIR}/examples/plugins"
>+
>+FILES_${PN}-plugins-samples-dbg = "\
>+        ${IOTIVITY_BIN_DIR}/examples/plugins/zigbee/.debug"
>+
>+FILES_${PN}-service-dbg = "\
>+        
>${prefix}/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/${PN}-${PV}/service \
>+        ${libdir}/.debug"
>+
>+FILES_${PN}-service-dev = "\
>+        ${includedir}/iotivity/service"
>+
>+FILES_${PN}-service = "\
>+        ${libdir}/libBMISensorBundle.so \
>+        ${libdir}/libDISensorBundle.so \
>+        ${libdir}/librcs_server.so \
>+        ${libdir}/librcs_common.so \
>+        ${libdir}/librcs_container.so \
>+        ${libdir}/libHueBundle.so \
>+        ${libdir}/libTGMSDKLibrary.so \
>+        ${libdir}/libESMediatorCSDK.so \
>+        ${libdir}/libESMediatorRich.so \
>+        ${libdir}/librcs_client.so \
>+        ${libdir}/libTestBundle.so"
>+
>+FILES_${PN}-service-staticdev = "\
>+        ${libdir}/librcs_client.a \
>+        ${libdir}/librcs_server.a \
>+        ${libdir}/librcs_common.a \
>+        ${libdir}/librcs_container.a \
>+        ${libdir}/libTGMSDKLibrary.a \
>+        ${libdir}/libresource_hosting.a \
>+        ${libdir}/libresource_directory.a \
>+        ${libdir}/libscene_manager.a"
>+
>+FILES_${PN}-service-samples-dbg = "\
>+        
>${IOTIVITY_BIN_DIR}/examples/service/things-manager/groupaction/.debug \
>+        
>${IOTIVITY_BIN_DIR}/examples/service/resource-encapsulation/.debug \
>+        ${IOTIVITY_BIN_DIR}/examples/service/resource-container/.debug \
>+        ${IOTIVITY_BIN_DIR}/examples/service/resource-hosting/.debug \
>+        ${IOTIVITY_BIN_DIR}/examples/service/resource-directory/.debug \
>+        ${IOTIVITY_BIN_DIR}/examples/service/easy-setup/.debug \
>+        
>${IOTIVITY_BIN_DIR}/examples/service/things-manager/configuration/.debug \
>+        ${IOTIVITY_BIN_DIR}/examples/service/scene-manager/.debug"
>+
>+FILES_${PN}-service-samples = "\
>+        ${IOTIVITY_BIN_DIR}/examples/service"
>+
>+FILES_${PN}-tests-dbg = "\
>+        ${libdir}/.debug/libgtest.so \
>+        ${libdir}/.debug/libgtest_main.so \
>+        ${IOTIVITY_BIN_DIR}/tests/service/easy-setup/.debug \
>+        ${IOTIVITY_BIN_DIR}/tests/resource/.debug \
>+        ${IOTIVITY_BIN_DIR}/tests/service/things-manager/.debug \
>+        ${IOTIVITY_BIN_DIR}/tests/service/resource-container/.debug \
>+        ${IOTIVITY_BIN_DIR}/tests/service/resource-encapsulation/.debug \
>+        ${IOTIVITY_BIN_DIR}/tests/service/scene-manager/.debug \
>+        ${IOTIVITY_BIN_DIR}/tests/plugins/zigbee/.debug"
>+
>+FILES_${PN}-tests = "\
>+        ${IOTIVITY_BIN_DIR}/tests"
>+
>+PACKAGES = "${PN}-tests-dbg ${PN}-tests ${PN}-plugins-dbg 
>${PN}-plugins-staticdev ${PN}-plugins-samples-dbg ${PN}-plugins-samples 
>${PN}-resource-dbg ${PN}-resource ${PN}-resource-dev 
>${PN}-resource-thin-staticdev ${PN}-resource-samples-dbg 
>${PN}-resource-samples ${PN}-service-dbg ${PN}-service ${PN}-service-dev 
>${PN}-service-staticdev ${PN}-service-samples-dbg ${PN}-service-samples 
>${PN}-dev ${PN}"
>+ALLOW_EMPTY_${PN} = "1"
>+RDEPENDS_${PN} += "boost"
>+RRECOMMENDS_${PN} += "${PN}-resource ${PN}-service"
>+RRECOMMENDS_${PN}-dev += "${PN}-resource-dev 
>${PN}-resource-thin-staticdev ${PN}-plugins-staticdev ${PN}-service-dev 
>${PN}-service-staticdev"
>+RDEPENDS_${PN}-resource += "glib-2.0"
>+RRECOMMENDS_${PN}-plugins-staticdev += "${PN}-resource-dev 
>${PN}-resource-thin-staticdev ${PN}-resource"
>+RRECOMMENDS_${PN}-resource-thin-staticdev += "${PN}-resource-dev"
>+RRECOMMENDS_${PN}-service-dev += "${PN}-service ${PN}-service-staticdev 
>${PN}-resource"
>+RDEPENDS_${PN}-plugins-samples += "${PN}-resource glib-2.0"
>+RDEPENDS_${PN}-resource-samples += "${PN}-resource glib-2.0"
>+RDEPENDS_${PN}-tests += "${PN}-resource ${PN}-service glib-2.0"
>+RDEPENDS_${PN}-service-samples += "${PN}-service ${PN}-resource glib-2.0"
>+RDEPENDS_${PN}-service += "${PN}-resource glib-2.0"
>+BBCLASSEXTEND = "native nativesdk"
>-- 
>1.9.1
>

Reply via email to