IOT-1072 Unfork libcoap: add build flag
authorDaniel Ferguson <daniel.j.ferguson@intel.com>
Fri, 8 Jul 2016 16:43:42 +0000 (09:43 -0700)
committerDave Thaler <dthaler@microsoft.com>
Fri, 16 Sep 2016 16:21:13 +0000 (16:21 +0000)
commit5c7f4ab6f4f1be57b79e080867302bb6ef99a332
tree7a1febb0eb0d82b6b2924ea551abe041c9ce58b6
parent7eac8fbd4792a8aadad1818dcb555384af05f93f
IOT-1072 Unfork libcoap: add build flag

* Add WITH_UPSTREAM_LIBCOAP command line option for SCons
* Add libcoap downloader, starting on public 'develop' branch
* Move resource\csdk\connectivity\lib\SConscript to extlibs\libcoap
* Restructured forked libcoap to resemble GitHub version, using a
  separate include directory and #include "coap/file.h" where needed
* Modify tizen build scripts
* Note - most platforms will not yet build with WITH_UPSTREAM_LIBCOAP

Change-Id: I51a59701d903adb63ba73e09afd230b9a7fd8696
Signed-off-by: Daniel Ferguson <daniel.j.ferguson@intel.com>
Signed-off-by: David Antler <david.a.antler@intel.com>
Signed-off-by: Ajay Saini <ajay.saini@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/9257
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Dave Thaler <dthaler@microsoft.com>
83 files changed:
.gitignore
build_common/SConscript
extlibs/libcoap/SConscript [new file with mode: 0644]
gbsbuild.sh
plugins/src/SConscript
plugins/src/pluginlist.c
plugins/zigbee_wrapper/telegesis_wrapper/include/twsocketlist.h
resource/SConscript
resource/csdk/SConscript
resource/csdk/connectivity/build/tizen/gbsbuild.sh
resource/csdk/connectivity/build/tizen/packaging/com.oic.ca.spec
resource/csdk/connectivity/inc/caadapterutils.h
resource/csdk/connectivity/inc/cablockwisetransfer.h
resource/csdk/connectivity/inc/camessagehandler.h
resource/csdk/connectivity/inc/caprotocolmessage.h
resource/csdk/connectivity/inc/catcpadapter.h
resource/csdk/connectivity/lib/libcoap-4.1.1/SConscript [deleted file]
resource/csdk/connectivity/lib/libcoap-4.1.1/async.c
resource/csdk/connectivity/lib/libcoap-4.1.1/block.c
resource/csdk/connectivity/lib/libcoap-4.1.1/coap_list.c
resource/csdk/connectivity/lib/libcoap-4.1.1/debug.c
resource/csdk/connectivity/lib/libcoap-4.1.1/encode.c
resource/csdk/connectivity/lib/libcoap-4.1.1/hashkey.c
resource/csdk/connectivity/lib/libcoap-4.1.1/include/coap/address.h [moved from resource/csdk/connectivity/lib/libcoap-4.1.1/address.h with 100% similarity]
resource/csdk/connectivity/lib/libcoap-4.1.1/include/coap/async.h [moved from resource/csdk/connectivity/lib/libcoap-4.1.1/async.h with 100% similarity]
resource/csdk/connectivity/lib/libcoap-4.1.1/include/coap/bits.h [moved from resource/csdk/connectivity/lib/libcoap-4.1.1/bits.h with 100% similarity]
resource/csdk/connectivity/lib/libcoap-4.1.1/include/coap/block.h [moved from resource/csdk/connectivity/lib/libcoap-4.1.1/block.h with 100% similarity]
resource/csdk/connectivity/lib/libcoap-4.1.1/include/coap/coap.h [moved from resource/csdk/connectivity/lib/libcoap-4.1.1/coap.h with 100% similarity]
resource/csdk/connectivity/lib/libcoap-4.1.1/include/coap/coap_list.h [moved from resource/csdk/connectivity/lib/libcoap-4.1.1/coap_list.h with 100% similarity]
resource/csdk/connectivity/lib/libcoap-4.1.1/include/coap/coap_time.h [moved from resource/csdk/connectivity/lib/libcoap-4.1.1/coap_time.h with 100% similarity]
resource/csdk/connectivity/lib/libcoap-4.1.1/include/coap/config.h [moved from resource/csdk/connectivity/lib/libcoap-4.1.1/config.h with 100% similarity]
resource/csdk/connectivity/lib/libcoap-4.1.1/include/coap/debug.h [moved from resource/csdk/connectivity/lib/libcoap-4.1.1/debug.h with 100% similarity]
resource/csdk/connectivity/lib/libcoap-4.1.1/include/coap/encode.h [moved from resource/csdk/connectivity/lib/libcoap-4.1.1/encode.h with 100% similarity]
resource/csdk/connectivity/lib/libcoap-4.1.1/include/coap/hashkey.h [moved from resource/csdk/connectivity/lib/libcoap-4.1.1/hashkey.h with 100% similarity]
resource/csdk/connectivity/lib/libcoap-4.1.1/include/coap/mem.h [moved from resource/csdk/connectivity/lib/libcoap-4.1.1/mem.h with 100% similarity]
resource/csdk/connectivity/lib/libcoap-4.1.1/include/coap/net.h [moved from resource/csdk/connectivity/lib/libcoap-4.1.1/net.h with 100% similarity]
resource/csdk/connectivity/lib/libcoap-4.1.1/include/coap/option.h [moved from resource/csdk/connectivity/lib/libcoap-4.1.1/option.h with 100% similarity]
resource/csdk/connectivity/lib/libcoap-4.1.1/include/coap/pdu.h [moved from resource/csdk/connectivity/lib/libcoap-4.1.1/pdu.h with 100% similarity]
resource/csdk/connectivity/lib/libcoap-4.1.1/include/coap/prng.h [moved from resource/csdk/connectivity/lib/libcoap-4.1.1/prng.h with 100% similarity]
resource/csdk/connectivity/lib/libcoap-4.1.1/include/coap/resource.h [moved from resource/csdk/connectivity/lib/libcoap-4.1.1/resource.h with 100% similarity]
resource/csdk/connectivity/lib/libcoap-4.1.1/include/coap/str.h [moved from resource/csdk/connectivity/lib/libcoap-4.1.1/str.h with 100% similarity]
resource/csdk/connectivity/lib/libcoap-4.1.1/include/coap/subscribe.h [moved from resource/csdk/connectivity/lib/libcoap-4.1.1/subscribe.h with 100% similarity]
resource/csdk/connectivity/lib/libcoap-4.1.1/include/coap/t_list.h [moved from resource/csdk/connectivity/lib/libcoap-4.1.1/t_list.h with 100% similarity]
resource/csdk/connectivity/lib/libcoap-4.1.1/include/coap/uri.h [moved from resource/csdk/connectivity/lib/libcoap-4.1.1/uri.h with 100% similarity]
resource/csdk/connectivity/lib/libcoap-4.1.1/include/coap/uthash.h [moved from resource/csdk/connectivity/lib/libcoap-4.1.1/uthash.h with 100% similarity]
resource/csdk/connectivity/lib/libcoap-4.1.1/include/coap/utlist.h [moved from resource/csdk/connectivity/lib/libcoap-4.1.1/utlist.h with 100% similarity]
resource/csdk/connectivity/lib/libcoap-4.1.1/net.c
resource/csdk/connectivity/lib/libcoap-4.1.1/option.c
resource/csdk/connectivity/lib/libcoap-4.1.1/pdu.c
resource/csdk/connectivity/lib/libcoap-4.1.1/resource.c
resource/csdk/connectivity/lib/libcoap-4.1.1/str.c
resource/csdk/connectivity/lib/libcoap-4.1.1/subscribe.c
resource/csdk/connectivity/lib/libcoap-4.1.1/uri.c
resource/csdk/connectivity/src/SConscript
resource/csdk/connectivity/src/bt_edr_adapter/caedradapter.c
resource/csdk/connectivity/src/bt_le_adapter/arduino/cableserver.cpp
resource/csdk/connectivity/src/bt_le_adapter/caleadapter.c
resource/csdk/connectivity/src/camessagehandler.c
resource/csdk/connectivity/src/ip_adapter/caipserver.c
resource/csdk/connectivity/src/tcp_adapter/arduino/catcpserver_eth.cpp
resource/csdk/connectivity/src/tcp_adapter/catcpserver.c
resource/csdk/security/SConscript
resource/csdk/security/include/srmutility.h
resource/csdk/security/provisioning/SConscript
resource/csdk/security/provisioning/ck_manager/sample/SConscript
resource/csdk/security/provisioning/sample/SConscript
resource/csdk/security/provisioning/unittest/SConscript
resource/csdk/security/tool/SConscript
resource/csdk/security/unittest/SConscript
resource/csdk/security/unittest/aclresourcetest.cpp
resource/csdk/stack/samples/linux/SimpleClientServer/SConscript
resource/csdk/stack/samples/tizen/build/SConscript
resource/csdk/stack/samples/tizen/build/gbsbuild.sh
resource/csdk/stack/samples/tizen/build/packaging/com.oic.ri.spec
resource/csdk/stack/src/occlientcb.c
resource/csdk/stack/src/ocobserve.c
resource/csdk/stack/src/ocserverrequest.c
resource/csdk/stack/src/ocstack.c
resource/provisioning/SConscript
resource/src/SConscript
run.bat
service/easy-setup/mediator/richsdk/SConscript
service/easy-setup/sampleapp/enrollee/tizen-sdb/EnrolleeSample/build/tizen/gbsbuild.sh