print ("*********** Build for linux ************")
build_options = {
'RELEASE':flag,
+ 'SECURED':0,
}
call_scons(build_options, extra_option_str)
'RELEASE':flag,
'WITH_TCP': 1,
'WITH_CLOUD':1,
- 'SECURED':1,
}
call_scons(build_options, extra_option_str)
'RELEASE':flag,
'WITH_TCP': 1,
'TARGET_TRANSPORT': 'IP',
+ 'SECURED':0,
}
call_scons(build_options, extra_option_str)
build_options = {
'ROUTING':'GW',
'RELEASE':flag,
+ 'SECURED':0,
}
call_scons(build_options, extra_option_str)
print ("*********** Build for linux with Security *************")
build_options = {
'RELEASE':flag,
- 'SECURED':1,
}
call_scons(build_options, extra_option_str)
'RELEASE':flag,
'WITH_RA':1,
'WITH_RA_IBB':1,
+ 'SECURED':0,
}
call_scons(build_options, extra_option_str)
'RELEASE':flag,
'WITH_RA':1,
'WITH_RA_IBB':1,
- 'SECURED':1,
}
call_scons(build_options, extra_option_str)
build_options = {
'RELEASE':flag,
'RD_MODE':'all',
+ 'SECURED':0,
}
call_scons(build_options, extra_option_str)
build_options = {
'RELEASE':flag,
'RD_MODE':'all',
- 'SECURED':1,
}
call_scons(build_options, extra_option_str)
build_options = {
'RELEASE':flag,
'WITH_MQ':'PUB,SUB,BROKER',
+ 'SECURED':0,
}
call_scons(build_options, extra_option_str)
build_options = {
'RELEASE':flag,
'WITH_TCP':'1',
+ 'SECURED':0,
}
call_scons(build_options, extra_option_str)
print ("Running : " + cmd_line)
subprocess.Popen([cmd_line], shell=True).wait()
- print ("*********** Build for Tizen octbstack lib and sample *************")
+ print ("*********** Build for Tizen octbstack lib and sample with security *************")
extra_option_str = "-f resource/csdk/stack/samples/tizen/build/SConscript " + extra_option_str
build_options = {
'TARGET_OS':'tizen',
}
call_scons(build_options, extra_option_str)
- print ("*********** Build for Tizen octbstack lib and sample with Security*************")
- build_options['SECURED'] = 1
+ print ("*********** Build for Tizen octbstack lib and sample *************")
+ build_options['SECURED'] = 0
call_scons(build_options, extra_option_str)
print ("*********** Build for Tizen octbstack lib and sample with Routing Manager*************")
- del build_options['SECURED']
build_options['ROUTING'] = 'GW'
call_scons(build_options, extra_option_str)
'RELEASE':flag,
'WITH_RA':0,
'TARGET_TRANSPORT':'IP',
- 'SECURED':1,
'WITH_TCP':0,
'BUILD_SAMPLE':'ON',
'LOGGING':'off',
'RELEASE':flag,
'WITH_RA':0,
'TARGET_TRANSPORT':'IP',
- 'SECURED':1,
'WITH_TCP':0,
'BUILD_SAMPLE':'ON',
'LOGGING':'off',
build_options = {
'TEST':1,
'RELEASE':'false',
+ 'SECURED':0,
}
extra_option_str = ""
call_scons(build_options, extra_option_str)
help_vars.Add(ListVariable('TARGET_TRANSPORT', 'Target transport', 'ALL', ['ALL', 'BT', 'BLE', 'IP', 'NFC']))
help_vars.Add(EnumVariable('TARGET_ARCH', 'Target architecture', default_arch, os_arch_map[target_os]))
-help_vars.Add(EnumVariable('SECURED', 'Build with DTLS', '0', allowed_values=('0', '1')))
+# TODO remove darwin from list once IOT-1684 is closed
+targets_without_dtls_support.append('darwin')
+if target_os in targets_without_dtls_support:
+ help_vars.Add(EnumVariable('SECURED', 'Build with DTLS', '0', allowed_values=('0', '1')))
+else:
+ help_vars.Add(EnumVariable('SECURED', 'Build with DTLS', '1', allowed_values=('0', '1')))
help_vars.Add(EnumVariable('MULTIPLE_OWNER', 'Enable multiple owner', '0', allowed_values=('0', '1')))
help_vars.Add(EnumVariable('EXC_PROV_SUPPORT', 'Except OCPMAPI library(libocpmapi.so)', '0', allowed_values=('0', '1')))
help_vars.Add(EnumVariable('TEST', 'Run unit tests', '0', allowed_values=('0', '1')))