mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-01 04:11:14 +08:00
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')
|