summaryrefslogtreecommitdiff
path: root/utils/nwztools
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2016-11-12 22:28:53 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2016-11-20 21:36:54 +0100
commit06502772a85f5ab5a25d7491de909d819ce43d50 (patch)
tree4b389115ef13c0b31c916c572fb4ab7498786393 /utils/nwztools
parente7d952db073f15fff6e654189a90bbc5cc1b726f (diff)
nwztools/plattools: improve makefile to build images automatically
Change-Id: Ibf17fe523c6ef534368d6f94f43fce5ac0c91caf
Diffstat (limited to 'utils/nwztools')
-rw-r--r--utils/nwztools/plattools/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/utils/nwztools/plattools/Makefile b/utils/nwztools/plattools/Makefile
index 3031bc72b4..71188ba11a 100644
--- a/utils/nwztools/plattools/Makefile
+++ b/utils/nwztools/plattools/Makefile
@@ -12,6 +12,12 @@ ALL_ELF=$(patsubst %.c,%.elf,$(TOOL_FILES)) all_tools.elf dualboot.elf
all: $(ALL_ELF)
+# image dependency
+data/rockbox_icon.h data/tools_icon.h:
+ make -C data
+
+dualboot.elf: data/rockbox_icon.h data/tools_icon.h
+
%.elf: %.c $(LIB_FILES)
$(CC) $(CFLAGS) $(INCLUDES) -o $@ $^