Implement storedevs, prepare to port littlefs
This commit is contained in:
@ -10,6 +10,11 @@ CFLAGS += -I. \
|
||||
-I./std/include \
|
||||
-I./flanterm/src \
|
||||
-DPRINTF_INCLUDE_CONFIG_H=1 \
|
||||
-DLFS_NO_MALLOC \
|
||||
-DLFS_NO_ASSERT \
|
||||
-DLFS_NO_DEBUG \
|
||||
-DLFS_NO_WARN \
|
||||
-DLFS_NO_ERROR
|
||||
|
||||
ifeq ($(PUTCHAR_),fb)
|
||||
CFLAGS += -DPUTCHAR_=PUTCHAR_FB
|
||||
@ -17,11 +22,11 @@ else
|
||||
CFLAGS += -DPUTCHAR_=PUTCHAR_SERIAL
|
||||
endif
|
||||
|
||||
LDFLAGS := -nostdlib -static -T arch/$(ARCH)/link.ld
|
||||
|
||||
include arch/$(ARCH)/$(ARCH).mk
|
||||
include extconf/extra.mk
|
||||
|
||||
LDFLAGS := -nostdlib -static -T arch/$(ARCH)/link.ld $(shell $(CC) -print-libgcc-file-name)
|
||||
|
||||
SRCFILES := $(wildcard *.c) \
|
||||
$(wildcard printf/*.c) \
|
||||
$(wildcard bitmap/*.c) \
|
||||
@ -32,7 +37,11 @@ SRCFILES := $(wildcard *.c) \
|
||||
$(wildcard vmm/*.c) \
|
||||
$(wildcard dlmalloc/*.c) \
|
||||
$(wildcard vfs/*.c) \
|
||||
$(wildcard storedev/*.c) \
|
||||
$(wildcard util/*.c) \
|
||||
$(wildcard fs/kvfs/*.c) \
|
||||
$(wildcard fs/littlefs/*.c) \
|
||||
$(wildcard baseimg/*.c) \
|
||||
$(wildcard hal/*.c) \
|
||||
$(wildcard hal/$(ARCH)/*.c) \
|
||||
$(wildcard hal/$(ARCH)/*.S) \
|
||||
|
Reference in New Issue
Block a user