summaryrefslogtreecommitdiff
path: root/bsp/nxp/imx/imx91/drivers/SConscript
blob: 356b6faf24dc64b4967670e3dfa4f6653fbc9067 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from building import *

cwd = GetCurrentDir()
src = Glob('*.c')

CPPPATH = [cwd]

objs = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)

for item in os.listdir(cwd):
    sconsfile = os.path.join(item, 'SConscript')
    if os.path.isfile(os.path.join(cwd, sconsfile)):
        objs += SConscript(sconsfile)

Return('objs')