rt-thread/bsp/nuvoton/numaker-m2354/board/SConscript

21 lines
399 B
Python
Raw Normal View History

2023-01-09 10:14:23 +08:00
# RT-Thread building script for component
from building import *
Import('RTT_ROOT')
from building import *
cwd = GetCurrentDir()
src = Split("""
NuClockConfig/nutool_modclkcfg.c
NuPinConfig/nutool_pincfg.c
""")
src += Glob('*.c') + Glob('*.cpp')
CPPPATH = [cwd, cwd + '/NuClockConfig', cwd + '/NuPinConfig']
group = DefineGroup('board', src, depend = [''], CPPPATH = CPPPATH)
Return('group')