7 print "Reading common folder script"
9 ca_os = env.get('TARGET_OS')
10 src_dir = env.get('SRC_DIR')
14 ca_common_path = root_dir + 'common/'
15 ca_common_src_path = ca_common_path + 'src/'
17 env.AppendUnique(CPPPATH = [
19 src_dir + '/resource/csdk/logger/include/',
22 ######################################################################
23 # Source files and Target(s)
24 ######################################################################
26 ca_common_src_path + 'uarraylist.c',
27 ca_common_src_path + 'ulinklist.c',
28 ca_common_src_path + 'uqueue.c',
29 ca_common_src_path + 'caremotehandler.c'
32 if env['POSIX_SUPPORTED'] or (ca_os in ['windows']):
34 ca_common_src_path + 'cathreadpool_pthreads.c',
35 ca_common_src_path + 'camutex_pthreads.c'
39 ca_common_src_path + 'camutex_noop.c'
43 env.AppendUnique(CA_SRC = ca_common_src)
44 env.AppendUnique(CA_SRC = platform_src)