From deeefd2e53795500ebb2afcc0b4d97e84eb7f7e9 Mon Sep 17 00:00:00 2001 From: Pixel Date: Sat, 29 Jan 2011 19:58:11 -0800 Subject: Adding sample code for the romfs into the demo, and into the makefile. --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d2b5619..194079c 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,8 @@ TARGET = demo.bin LIBDEPS = FreeRTOS/libFreeRTOS.a arch/libarch.a os/libos.a LIBS = -Wl,--start-group -lc $(LIBDEPS) -Wl,--end-group +TARGET_SRCS = test-romfs.o + export ROOTDIR = $(CURDIR) include common.mk @@ -38,6 +40,12 @@ tools: $(E) "[MAKE] Entering tools" $(Q)$(MAKE) $(MAKE_OPTS) -C tools +test-romfs.o: tools + $(E) "[ROMFS] Building test romfs" + $(Q) tools/mkromfs -d test test-romfs.bin + $(Q) $(TARGET_OBJCOPY_BIN) --prefix-sections '.romfs' test-romfs.bin test-romfs.o + $(Q)$(MAKE) $(MAKE_OPTS) -C tools + include FreeRTOS/config.mk include arch/config.mk include os/config.mk -- cgit v1.2.3