diff options
author | Pixel <pixel@nobis-crew.org> | 2011-01-29 19:58:11 -0800 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2011-01-29 19:58:11 -0800 |
commit | deeefd2e53795500ebb2afcc0b4d97e84eb7f7e9 (patch) | |
tree | 6808dbdbf60b53f2febb14be522fd785ac18cadc /Makefile | |
parent | ea49b5b3f435bce0a301111fad0738efb0b39e0d (diff) |
Adding sample code for the romfs into the demo, and into the makefile.
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 |