Commit 199ff174 authored by Philippe Coval's avatar Philippe Coval Committed by C.J. Collier

build: Add linux_full for MOT, RA and SECURED

More features could be turned on later

Bug: https://jira.iotivity.org/browse/IOT-2241
Change-Id: Ie58e4f4f54ab08e2f0a7f7273e4e9943f9389534
Signed-off-by: default avatarPhilippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/21539Reviewed-by: default avatarDan Mihai <Daniel.Mihai@microsoft.com>
Reviewed-by: George Nash's avatarGeorge Nash <george.nash@intel.com>
Reviewed-by: default avatarAlex Kelley <alexke@microsoft.com>
Tested-by: default avatarjenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: default avatarMats Wichmann <mats@linux.com>
parent be01086f
...@@ -12,7 +12,7 @@ def helpmsg(script): ...@@ -12,7 +12,7 @@ def helpmsg(script):
Usage: Usage:
build: build:
python %s <targetbuild> python %s <targetbuild>
Allowed values for <target_build>: all, linux_unsecured, linux_secured, linux_unsecured_with_rd, linux_secured_with_rd, Allowed values for <target_build>: all, linux_unsecured, linux_secured, linux_full, linux_unsecured_with_rd, linux_secured_with_rd,
android, android_unsecured, android_secured, arduino, tizen, tizen_unsecured, tizen_secured, simulator, darwin, windows, msys android, android_unsecured, android_secured, arduino, tizen, tizen_unsecured, tizen_secured, simulator, darwin, windows, msys
Note: \"linux\" will build \"linux_unsecured\", \"linux_secured\", \"linux_secured_with_rd\", \"linux_unsecured_with_mq\", \"linux_secured_with_tcp\" & \"linux_unsecured_with_tcp\" & \"linux_unsecured_with_rd\". Note: \"linux\" will build \"linux_unsecured\", \"linux_secured\", \"linux_secured_with_rd\", \"linux_unsecured_with_mq\", \"linux_secured_with_tcp\" & \"linux_unsecured_with_tcp\" & \"linux_unsecured_with_rd\".
Any selection will build both debug and release versions of all available targets in the scope you've selected. Any selection will build both debug and release versions of all available targets in the scope you've selected.
...@@ -136,6 +136,19 @@ def build_linux_secured(flag, extra_option_str): ...@@ -136,6 +136,19 @@ def build_linux_secured(flag, extra_option_str):
} }
call_scons(build_options, extra_option_str) call_scons(build_options, extra_option_str)
def build_linux_full(flag, extra_option_str):
print ("*********** Build for linux with full features *************")
build_options = {
'MULTIPLE_OWNER':1,
'RELEASE':flag,
'SECURED':1,
'WITH_CLOUD':1,
'WITH_RA':1,
'WITH_RA_IBB':1,
'WITH_TCP':1,
}
call_scons(build_options, extra_option_str)
def build_linux_unsecured_with_rd(flag, extra_option_str): def build_linux_unsecured_with_rd(flag, extra_option_str):
print ("*********** Build for linux With Resource Directory *************") print ("*********** Build for linux With Resource Directory *************")
build_options = { build_options = {
...@@ -556,6 +569,10 @@ elif arg_num == 2: ...@@ -556,6 +569,10 @@ elif arg_num == 2:
build_linux_secured("true", "") build_linux_secured("true", "")
build_linux_secured("false", "") build_linux_secured("false", "")
elif str(sys.argv[1]) == "linux_full":
build_linux_full("true", "")
build_linux_full("false", "")
elif str(sys.argv[1]) == "linux_unsecured_with_rd": elif str(sys.argv[1]) == "linux_unsecured_with_rd":
build_linux_unsecured_with_rd("true", "") build_linux_unsecured_with_rd("true", "")
build_linux_unsecured_with_rd("false", "") build_linux_unsecured_with_rd("false", "")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment