diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 |