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'):
|
if not GetDepend('DFS_ROMFS_ROOT'):
|
||||||
romfs = romfs + Split('filesystems/romfs/romfs.c')
|
romfs = romfs + Split('filesystems/romfs/romfs.c')
|
||||||
|
|
||||||
|
# DFS-RAMFS options
|
||||||
|
ramfs = Split("""
|
||||||
|
filesystems/ramfs/dfs_ramfs.c
|
||||||
|
""")
|
||||||
|
|
||||||
# DFS-DeviceFS options
|
# DFS-DeviceFS options
|
||||||
devfs = Split("""
|
devfs = Split("""
|
||||||
filesystems/devfs/devfs.c
|
filesystems/devfs/devfs.c
|
||||||
@ -175,6 +180,10 @@ if GetDepend('RT_USING_DFS_ROMFS'):
|
|||||||
src_local = src_local + romfs
|
src_local = src_local + romfs
|
||||||
path = path + [RTT_ROOT + '/components/dfs/filesystems/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'):
|
if GetDepend('RT_USING_DFS_DEVFS'):
|
||||||
src_local = src_local + devfs
|
src_local = src_local + devfs
|
||||||
path = path + [RTT_ROOT + '/components/dfs/filesystems/devfs']
|
path = path + [RTT_ROOT + '/components/dfs/filesystems/devfs']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user