Files
luban-lite/bsp/examples_bare/test-mtd/SConscript
刘可亮 3e10f578d3 v1.2.2
2025-10-21 13:59:50 +08:00

19 lines
369 B
Python

Import('AIC_ROOT')
Import('PRJ_KERNEL')
from building import *
cwd = GetCurrentDir()
CPPPATH = [cwd, ]
src = []
if GetDepend('AIC_MTD_BARE_TEST'):
src += Glob('mtd.c')
if GetDepend('AIC_EXAMPLE'):
src += Glob('mtd_example.c')
CFLAGS = ' -c -ffunction-sections'
group = DefineGroup('test-mtd', src, depend = [''], CPPPATH = CPPPATH)
Return('group')