mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-14 10:28:54 +00:00
16 lines
386 B
Python
16 lines
386 B
Python
# RT-Thread building script for component
|
|
|
|
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
src = Glob('*.c')
|
|
CPPPATH = [cwd]
|
|
|
|
if GetDepend('DFS_ROMFS_ROOT'):
|
|
# A new ROMFS root has been defined, we should remove the romfs.c
|
|
SrcRemove(src, ['romfs.c'])
|
|
|
|
group = DefineGroup('Filesystem', src, depend = ['LPKG_USING_DFS','LPKG_USING_DFS_ROMFS'], CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|