Bug fixed for logging flag to scons build parameters.
authorhyuna0213.jo <hyuna0213.jo@samsung.com>
Wed, 8 Apr 2015 01:53:37 +0000 (10:53 +0900)
committerErich Keane <erich.keane@intel.com>
Wed, 8 Apr 2015 17:46:51 +0000 (17:46 +0000)
Change-Id: Iae7d52afe44d915edcf887e6c1625b95e308512e
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/670
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
Reviewed-by: Erich Keane <erich.keane@intel.com>
resource/csdk/connectivity/build/SConscript

index 55eb3c614227ba8fa8246fc91d651a4f4286509c..a4da7fc9f81a8e94a1f16bbe1cc94108a9431c4e 100644 (file)
@@ -58,6 +58,7 @@ device_name = ARGUMENTS.get('DEVICE_NAME', "OIC-DEVICE")
 ######################################################################
 help_vars = Variables()
 help_vars.Add(BoolVariable('RELEASE', 'Build for release?', True)) # set to 'no', 'false' or 0 for debug
+help_vars.Add(BoolVariable('LOGGING', 'Enable stack logging', False))
 help_vars.Add(EnumVariable('TARGET_OS', 'Target platform', host, host_target_map[host]))
 help_vars.Add(ListVariable('TARGET_TRANSPORT', 'Target transport', 'ALL', ['ALL', 'WIFI', 'BT', 'BLE', 'ETHERNET']))
 help_vars.Add(EnumVariable('TARGET_ARCH', 'Target architecture', default_arch, os_arch_map[target_os]))
@@ -66,7 +67,7 @@ help_vars.Add(BoolVariable('UPLOAD', 'Upload binary ? (For Arduino)', require_up
 help_vars.Add(EnumVariable('BUILD_SAMPLE', 'Build with sample', 'ON', allowed_values=('ON', 'OFF')))
 
 help_vars.AddVariables(('DEVICE_NAME', 'Network display name for device', 'OIC-DEVICE', None, None),)
-       
+
 ######################################################################
 # Platform(build target) specific options: SDK/NDK & toolchain
 ######################################################################