1 #######################################################
3 #######################################################
7 print"Reading bt adapter script"
9 target_os = env.get('TARGET_OS')
10 src_dir = './bt_edr_adapter/'
12 #Source files to build common for all platforms
13 if target_os != 'arduino':
14 env.AppendUnique(CA_SRC=[src_dir+'caedradapter.c'])
16 #Source files to build in Linux platform
17 if target_os == 'linux':
18 env.AppendUnique(CA_SRC=[src_dir+'linux/caedradapter.c',
21 #Source files to build in Tizen platform
22 if target_os == 'tizen':
23 env.PrependUnique(CPPPATH = [src_dir + 'tizen'])
24 env.AppendUnique(CA_SRC=[src_dir+'tizen/caedrclient.c',
25 src_dir+'tizen/caedrdevicelist.c',
26 src_dir+'tizen/caedrendpoint.c',
27 src_dir+'tizen/caedrnwmonitor.c',
28 src_dir+'tizen/caedrserver.c',
29 src_dir+'tizen/caedrutils.c',
32 #Source files to build in Android platform
33 if target_os == 'android':
34 env.AppendUnique(CA_SRC=[src_dir+'caedradapter.c',
35 src_dir+'android/caedrclient.c',
36 src_dir+'android/caedrutils.c',
37 src_dir+'android/caedrnwmonitor.c',
38 src_dir+'android/caedrserver.c',