summaryrefslogtreecommitdiff
path: root/ucoo/base/fs/romfs/test/Makefile
diff options
context:
space:
mode:
authorNicolas Schodet2015-10-09 15:25:15 +0200
committerNicolas Schodet2019-10-07 00:44:50 +0200
commit9b163537e83eea2c65358135dc180e7bf2da1a51 (patch)
tree7e9a66b57c868e5c1c82e42b8145cba7eed892cc /ucoo/base/fs/romfs/test/Makefile
parentf0c9501ae7945cbc3f20b0d92dddc3da0a99d280 (diff)
ucoo/base/fs/romfs: add ROM FS
Diffstat (limited to 'ucoo/base/fs/romfs/test/Makefile')
-rw-r--r--ucoo/base/fs/romfs/test/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/ucoo/base/fs/romfs/test/Makefile b/ucoo/base/fs/romfs/test/Makefile
new file mode 100644
index 0000000..c4ec6bc
--- /dev/null
+++ b/ucoo/base/fs/romfs/test/Makefile
@@ -0,0 +1,15 @@
+BASE = ../../../../..
+
+TARGETS = host stm32f4
+PROGS = test_romfs
+test_romfs_SOURCES = test_romfs.cc
+
+MODULES = ucoo/base/test ucoo/base/fs/romfs ucoo/hal/usb
+
+COMPILE_DEPS = $(OBJDIR)/test_fs.h
+EXTRA_CLEAN = $(OBJDIR)/test_fs.h
+
+include $(BASE)/build/top.mk
+
+$(OBJDIR)/test_fs.h: ../mkromfs.py hello.txt
+ $< -o $@ -i test_fs $(wordlist 2,$(words $^),$^)