rt-thread/bsp/sparkfun-redv/applications/SConscript

19 lines
527 B
Python
Raw Normal View History

2020-10-31 15:40:38 +08:00
Import('RTT_ROOT')
Import('rtconfig')
from building import *
cwd = os.path.join(str(Dir('#')), 'applications')
2023-01-09 10:14:23 +08:00
src = Glob('*.c')
2020-10-31 15:40:38 +08:00
src.append('led/led.c')
2023-01-09 10:14:23 +08:00
CPPPATH = [cwd,
2020-10-31 15:40:38 +08:00
str(Dir('#')),
os.path.join(str(Dir('#')), 'freedom-e-sdk/bsp/env'),
os.path.join(str(Dir('#')), 'freedom-e-sdk/bsp/env/freedom-e300-hifive1'),
os.path.join(str(Dir('#')), 'freedom-e-sdk/include/sifive/devices'),
os.path.join(cwd, 'led')]
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH)
Return('group')