提交 d74dee0d 编写于 作者: B bernard

Add ramfs into building script

上级 ba8f125f
......@@ -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']
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册