mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-14 17:49:27 +08:00
18 lines
484 B
Python
18 lines
484 B
Python
|
# for module compiling
|
||
|
import os
|
||
|
Import('rtconfig')
|
||
|
from building import *
|
||
|
|
||
|
objs = []
|
||
|
|
||
|
if GetDepend('SOC_GK7102C'):
|
||
|
objs += SConscript(os.path.join('7102C', 'SConscript'))
|
||
|
elif GetDepend('SOC_GK7101') or GetDepend('SOC_GK7102'):
|
||
|
objs += SConscript(os.path.join('710X', 'SConscript'))
|
||
|
elif GetDepend('SOC_GK7101S') or GetDepend('SOC_GK7102S'):
|
||
|
objs += SConscript(os.path.join('710XS', 'SConscript'))
|
||
|
|
||
|
objs += SConscript(os.path.join('gnu_c', 'SConscript'))
|
||
|
|
||
|
Return('objs')
|