mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-14 18:38:55 +00:00
17 lines
299 B
Python
17 lines
299 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')
|
||
|
|
|
||
|
|
CFLAGS = ' -c -ffunction-sections'
|
||
|
|
|
||
|
|
group = DefineGroup('test-mtd', src, depend = [''], CPPPATH = CPPPATH)
|
||
|
|
|
||
|
|
Return('group')
|