-
Notifications
You must be signed in to change notification settings - Fork 12
/
SConstruct
69 lines (61 loc) · 2.08 KB
/
SConstruct
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
env = Environment()
# the directory everything is built in
buildDir = 'build/'
# some help text printed when SCons is called with '--help' parameter
Help('''
Build OpenWSN!
''')
# by default, no target is specified
Default(None)
#============================ SConscripts =====================================
#===== libraries
# bsp
SConscript('firmware/openos/bsp/boards/pc/SConscript',
exports = {'env':env},
)
# kernel
SConscript('firmware/openos/kernel/openos/SConscript',
exports = {'env':env},
)
# drivers
SConscript('firmware/openos/drivers/common/SConscript',
exports = {'env':env},
)
# openstack
SConscript('firmware/openos/openwsn/SConscript',
exports = {'env':env},
)
#===== projects
# bsp
SConscript('firmware/openos/projects/common/01bsp_bothtimers/SConscript',
exports = {'env':env},
)
SConscript('firmware/openos/projects/common/01bsp_bsp_timer/SConscript',
exports = {'env':env},
)
SConscript('firmware/openos/projects/common/01bsp_closetimers/SConscript',
exports = {'env':env},
)
SConscript('firmware/openos/projects/common/01bsp_debugpins/SConscript',
exports = {'env':env},
)
SConscript('firmware/openos/projects/common/01bsp_leds/SConscript',
exports = {'env':env},
)
SConscript('firmware/openos/projects/common/01bsp_radio/SConscript',
exports = {'env':env},
)
SConscript('firmware/openos/projects/common/01bsp_radiotimer/SConscript',
exports = {'env':env},
)
SConscript('firmware/openos/projects/common/01bsp_uart/SConscript',
exports = {'env':env},
)
# drivers
SConscript('firmware/openos/projects/common/02drv_opentimers/SConscript',
exports = {'env':env},
)
# openos
SConscript('firmware/openos/projects/common/03oos_openwsn/SConscript',
exports = {'env':env},
)