4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-20 12:13:30 +08:00
Wayne 0d1c709fa5
Sync upstream (#6793)
Co-authored-by: Wayne Lin <wclin@nuvoton.com>
2022-12-29 15:15:13 +08:00

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')