summaryrefslogtreecommitdiff
path: root/components/utilities/libadt/SConscript
blob: 22ea93cadf6092ab5fc40e2a49ea662d1d5d53e4 (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_ADT']):
    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')