Add ramfs into building script

This commit is contained in:
bernard 2013-07-29 13:52:59 +08:00
parent ba8f125f56
commit d74dee0dd6
1 changed files with 9 additions and 0 deletions

View File

@ -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']