-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathSConscript
More file actions
34 lines (23 loc) · 856 Bytes
/
SConscript
File metadata and controls
34 lines (23 loc) · 856 Bytes
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
import os
from building import *
objs = []
cwd = GetCurrentDir()
if GetDepend(['ARCH_ARM_CORTEX_M']):
objs = objs + SConscript('CMSIS/SConscript')
if GetDepend(['SOC_SERIES_MA35D1']):
objs = objs + SConscript('MA35D1/SConscript')
if GetDepend(['SOC_SERIES_M460']):
objs = objs + SConscript('M460/SConscript')
if GetDepend(['SOC_SERIES_M480']):
objs = objs + SConscript('M480/SConscript')
if GetDepend(['SOC_SERIES_M032']):
objs = objs + SConscript('M031/SConscript')
if GetDepend(['SOC_SERIES_M2354']):
objs = objs + SConscript('M2354/SConscript')
if GetDepend(['SOC_SERIES_M3331']):
objs = objs + SConscript('M3331/SConscript')
if GetDepend(['SOC_SERIES_N9H30']):
objs = objs + SConscript('N9H30/SConscript')
if GetDepend(['SOC_SERIES_NUC980']):
objs = objs + SConscript('NUC980/SConscript')
Return('objs')