@ -180,14 +180,14 @@ SCONS_OPTIONS += \
STAGING_DIR = $( STAGING_DIR) \
STAGING_DIR = $( STAGING_DIR) \
LOGGING = true \
LOGGING = true \
WITH_ENV = true \
WITH_ENV = true \
$( if $( CONFIG_PACKAGE_iotivity) ,octbstack) \
$( if $( CONFIG_PACKAGE_iotivity-cpp) ,oc) \
octbstack oc \
$( if $( CONFIG_PACKAGE_iotivity-oic-middle) ,examples) \
$( if $( CONFIG_PACKAGE_iotivity-oic-middle) ,examples) \
$( if $( CONFIG_PACKAGE_iotivity-resource-container-lib) ,libResContainer) \
$( if $( CONFIG_PACKAGE_iotivity-resource-container-lib) ,libResContainer) \
$( if $( CONFIG_PACKAGE_iotivity-resource-container-sample) ,containersample) \
$( if $( CONFIG_PACKAGE_iotivity-resource-container-sample) ,containersample) \
$( if $( CONFIG_PACKAGE_iotivity-resource-container-hue) ,libHueBundle) \
$( if $( CONFIG_PACKAGE_iotivity-resource-container-hue) ,libHueBundle) \
$( if $( CONFIG_PACKAGE_iotivity-example-garage) ,examples) \
$( if $( CONFIG_PACKAGE_iotivity-example-garage) ,examples) \
$( if $( CONFIG_PACKAGE_iotivity-example-simple) ,examples) \
$( if $( CONFIG_PACKAGE_iotivity-example-simple) ,examples) \
install
i f e q ( $( CONFIG_PACKAGE_iotivity_DEBUG ) , y )
i f e q ( $( CONFIG_PACKAGE_iotivity_DEBUG ) , y )
SCONS_OPTIONS += RELEASE = false
SCONS_OPTIONS += RELEASE = false
@ -278,6 +278,18 @@ define Package/iotivity-example-simple/install
$( INSTALL_BIN) $( PKG_BUILD_DIR) /out/linux/$( ARCH) /$( APP_OPTIM) /resource/examples/simpleserver $( 1) /usr/bin/
$( INSTALL_BIN) $( PKG_BUILD_DIR) /out/linux/$( ARCH) /$( APP_OPTIM) /resource/examples/simpleserver $( 1) /usr/bin/
e n d e f
e n d e f
d e f i n e B u i l d / I n s t a l l D e v
$( INSTALL_DIR) $( 1) /usr/include
$( CP) $( PKG_BUILD_DIR) /out/linux/$( ARCH) /$( APP_OPTIM) /include $( 1) /usr/include/iotivity
$( INSTALL_DIR) $( 1) /usr/lib
$( CP) $( PKG_BUILD_DIR) /out/linux/$( ARCH) /$( APP_OPTIM) /libconnectivity_abstraction.so $( 1) /usr/lib/
$( CP) $( PKG_BUILD_DIR) /out/linux/$( ARCH) /$( APP_OPTIM) /liboctbstack.so $( 1) /usr/lib/
$( CP) $( PKG_BUILD_DIR) /out/linux/$( ARCH) /$( APP_OPTIM) /liboc.so $( 1) /usr/lib/
$( CP) $( PKG_BUILD_DIR) /out/linux/$( ARCH) /$( APP_OPTIM) /liboc_logger.so $( 1) /usr/lib/
$( CP) $( PKG_BUILD_DIR) /out/linux/$( ARCH) /$( APP_OPTIM) /libresource_directory.so $( 1) /usr/lib/
e n d e f
$( eval $ ( call BuildPackage ,iotivity ) )
$( eval $ ( call BuildPackage ,iotivity ) )
$( eval $ ( call BuildPackage ,iotivity -cpp ) )
$( eval $ ( call BuildPackage ,iotivity -cpp ) )