Commit 86ed6a0a authored by Grzegorz Daniluk's avatar Grzegorz Daniluk

automatically generate sdbfs default image when building wrpc-sw

parent 1128ce95
......@@ -75,6 +75,10 @@ pfilter-y := include/dev/pfilter-rules-novlan.h
pfilter-$(CONFIG_VLAN) += include/dev/pfilter-rules-vlan.h
export pfilter-y
# sdbfs image
sdbfsimg-y := include/dev/sdbfs-default.h
export sdbfsimg-y
all:
include boards/boards.mk
......
......@@ -53,6 +53,10 @@ obj-$(CONFIG_FAKE_TEMPERATURES) += dev/fake-temp.o
dev/ep_pfilter.o: $(pfilter-y)
dev/storage.o: $(sdbfsimg-y)
$(pfilter-y): tools
./tools/pfilter-builder include/dev/
sleep 1
$(sdbfsimg-y): tools
./tools/gensdbfs -c include/dev/sdbfs-default.h tools/sdbfs tools/sdbfs-default.bin
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment