summaryrefslogtreecommitdiff
path: root/bsp/nxp/lpc/lpc43xx/M4/SConscript
blob: 3f3e033bb246aec862de14137712a4078d71d73d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from building import *

cwd  = GetCurrentDir()
objs = []

for d in os.listdir(os.path.join(cwd, '..')):
    if d not in ('M0', 'M4'):
        path = os.path.join('..', d, 'SConscript')
        if os.path.isfile(os.path.join(cwd, path)):
            objs = objs + SConscript(path)

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

Return('objs')