mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
ROMFS filesystem support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@903 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
+4
-3
@@ -57,6 +57,7 @@ CSRCS += fs_registerblockdriver.c fs_unregisterblockdriver.c \
|
||||
fs_fsync.c fs_unlink.c fs_rename.c \
|
||||
fs_mkdir.c fs_rmdir.c
|
||||
include fat/Make.defs
|
||||
include romfs/Make.defs
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -67,8 +68,8 @@ OBJS = $(AOBJS) $(COBJS)
|
||||
|
||||
BIN = libfs$(LIBEXT)
|
||||
|
||||
SUBDIRS = fat
|
||||
VPATH = fat
|
||||
SUBDIRS = fat romfs
|
||||
VPATH = fat:romfs
|
||||
|
||||
all: $(BIN)
|
||||
|
||||
@@ -84,7 +85,7 @@ $(BIN): $(OBJS)
|
||||
done ; )
|
||||
|
||||
.depend: Makefile $(SRCS)
|
||||
@$(MKDEP) --dep-path . --dep-path fat $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||
@$(MKDEP) --dep-path . --dep-path fat --dep-path romfs $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||
@touch $@
|
||||
|
||||
depend: .depend
|
||||
|
||||
Reference in New Issue
Block a user