Add external package management support
authorCaiwen Zhang <caiwen.zhang@intel.com>
Tue, 3 Feb 2015 09:01:51 +0000 (17:01 +0800)
committerPatrick Lankswert <patrick.lankswert@intel.com>
Mon, 9 Feb 2015 19:44:44 +0000 (19:44 +0000)
commit38f5e9d1bee8eb61494a3acbf053a3b6d5c2b779
tree81fcbb71ae9b4d57978c32c2a6d8df662e72c80a
parenta02e3f263c942496b5e1e05fb1d523b77d9e8500
Add external package management support

Some methods are added to manage external packages:
  'PrepareLib': checks the existence of an external library, if it
doesn't exist, calls the script user provided to download(if required)
and build the source code of the external library or notify user to
install the library.
  'Download': download package from specify URL
  'UnpackAll': unpack the package
  'Configure': execute specify script(configure, bootstrap etc)
  'InstallHeadFile': install head files
  'InstallLib': install library binaries(.so, .a etc)

Change-Id: Ibf3ef58abf8ba5a466b82a341bb6dce83d61726e
Signed-off-by: Caiwen Zhang<caiwen.zhang@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/138
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Patrick Lankswert <patrick.lankswert@intel.com>
21 files changed:
SConstruct
arduino.scons
build_common/SConscript
build_common/android/SConscript
build_common/arduino/SConscript
build_common/external_libs.scons [new file with mode: 0644]
build_common/tools/UnpackAll.py [new file with mode: 0644]
extlibs/boost/SConscript [new file with mode: 0644]
extlibs/cereal/SConscript [new file with mode: 0644]
extlibs/expat/SConscript [new file with mode: 0644]
extra_options.scons [deleted file]
resource/android/SConscript
resource/csdk/SConscript
resource/csdk/stack/samples/arduino/SimpleClientServer/ocserver/SConscript
resource/examples/SConscript
resource/oc_logger/SConscript
resource/oc_logger/examples/SConscript
resource/src/SConscript
resource/third_party_libs.scons [deleted file]
service/protocol-plugin/sample-app/linux/SConscript
service/third_party_libs.scons