-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathSConscript
More file actions
32 lines (22 loc) · 926 Bytes
/
Copy pathSConscript
File metadata and controls
32 lines (22 loc) · 926 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
from building import *
Import('rtconfig')
objs = []
cwd = GetCurrentDir()
if getattr(rtconfig, '_NXP_IMXRT_SDK_LATEST_INCLUDED', False):
Return('objs')
rtconfig._NXP_IMXRT_SDK_LATEST_INCLUDED = True
if GetDepend(['SOC_IMXRT1020_SERIES']):
objs = objs + SConscript('MIMXRT1020/SConscript')
if GetDepend(['SOC_IMXRT1050_SERIES']):
objs = objs + SConscript('MIMXRT1050/SConscript')
if GetDepend(['SOC_IMXRT1064_SERIES']) or GetDepend(['SOC_MIMXRT1064DVL6A']):
objs = objs + SConscript('MIMXRT1064/SConscript')
elif GetDepend(['SOC_IMXRT1061CVL5A']):
objs = objs + SConscript('MIMXRT1061/SConscript')
elif GetDepend(['SOC_IMXRT1060_SERIES']):
objs = objs + SConscript('MIMXRT1060/SConscript')
if GetDepend(['SOC_IMXRT1170_SERIES']):
objs = objs + SConscript('MIMXRT1170/SConscript')
if GetDepend(['SOC_IMXRT1180_SERIES']):
objs = objs + SConscript('MIMXRT1180/SConscript')
Return('objs')