summaryrefslogtreecommitdiff
path: root/bsp/renesas/ra6m3-hmi-board/board/rtduino/arduino_pinout/SConscript
blob: aa01ea933e96be4c89b9da1fbdd9d6d9c24cb78a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from building import *

cwd = GetCurrentDir()
src = Glob('*.c') + Glob('*.cpp')
group = []
inc = [cwd]

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

group = group + DefineGroup('RTduino', src, depend = ['PKG_USING_RTDUINO'], CPPPATH = inc)

Return('group')