summaryrefslogtreecommitdiff
path: root/components/drivers/firmware/SConscript
blob: 77728612f6784a39278a8353585baf932c3e99f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from building import *

cwd     = GetCurrentDir()
list    = os.listdir(cwd)
objs    = []

if not GetDepend('RT_USING_FIRMWARE'):
    Return('objs')

for d in list:
    path = os.path.join(cwd, d)
    if os.path.isfile(os.path.join(path, 'SConscript')):
        objs = objs + SConscript(os.path.join(d, 'SConscript'))

Return('objs')