mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-20 12:13:30 +08:00
0d1c709fa5
Co-authored-by: Wayne Lin <wclin@nuvoton.com>
19 lines
362 B
Python
19 lines
362 B
Python
# RT-Thread building script for component
|
|
|
|
from building import *
|
|
|
|
|
|
Import('RTT_ROOT')
|
|
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
src = Split("""
|
|
nutool_pincfg/nutool_pincfg.c
|
|
""")
|
|
src += Glob('*.c') + Glob('*.cpp') + Glob('*.S')
|
|
CPPPATH = [cwd, cwd + '/nutool_pincfg']
|
|
|
|
group = DefineGroup('board', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|