2021-02-01 10:35:44 +08:00
|
|
|
# RT-Thread building script for component
|
|
|
|
|
|
|
|
from building import *
|
|
|
|
|
|
|
|
cwd = GetCurrentDir()
|
|
|
|
group = []
|
|
|
|
if GetDepend('NU_PKG_USING_SPINAND'):
|
2023-01-09 10:14:23 +08:00
|
|
|
src = Glob('*.c') + Glob('*.cpp')
|
|
|
|
CPPPATH = [cwd]
|
|
|
|
group = DefineGroup('nu_pkgs_spinand', src, depend = [''], CPPPATH = CPPPATH)
|
2021-02-01 10:35:44 +08:00
|
|
|
|
|
|
|
Return('group')
|