summaryrefslogtreecommitdiff
path: root/bsp/wch/risc-v/ch32v003f4p6-evt/SConscript
blob: 95568fefbaaa5d974d2804fd556ea80487b35bfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import os
Import('RTT_ROOT')
from building import *

cwd = GetCurrentDir()
objs = []
for d in os.listdir(cwd):
    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')