Add ramfs into building script
This commit is contained in:
parent
ba8f125f56
commit
d74dee0dd6
|
@ -23,6 +23,11 @@ filesystems/romfs/dfs_romfs.c
|
|||
if not GetDepend('DFS_ROMFS_ROOT'):
|
||||
romfs = romfs + Split('filesystems/romfs/romfs.c')
|
||||
|
||||
# DFS-RAMFS options
|
||||
ramfs = Split("""
|
||||
filesystems/ramfs/dfs_ramfs.c
|
||||
""")
|
||||
|
||||
# DFS-DeviceFS options
|
||||
devfs = Split("""
|
||||
filesystems/devfs/devfs.c
|
||||
|
@ -175,6 +180,10 @@ if GetDepend('RT_USING_DFS_ROMFS'):
|
|||
src_local = src_local + romfs
|
||||
path = path + [RTT_ROOT + '/components/dfs/filesystems/romfs']
|
||||
|
||||
if GetDepend('RT_USING_DFS_RAMFS'):
|
||||
src_local = src_local + ramfs
|
||||
path = path + [RTT_ROOT + '/components/dfs/filesystems/ramfs']
|
||||
|
||||
if GetDepend('RT_USING_DFS_DEVFS'):
|
||||
src_local = src_local + devfs
|
||||
path = path + [RTT_ROOT + '/components/dfs/filesystems/devfs']
|
||||
|
|
Loading…
Reference in New Issue