summaryrefslogtreecommitdiff
path: root/components/dfs/filesystems/romfs/SConscript
blob: d31941eb8afe7ac28e841248f68a96f76640d368 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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 = ['RT_USING_DFS','RT_USING_DFS_ROMFS'], CPPPATH = CPPPATH)

Return('group')