diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2017-01-17 11:53:48 +0100 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2017-01-24 15:31:05 +0100 |
commit | 9851849ae6e648df617542c22111fe542cb0fd23 (patch) | |
tree | 9ddb02c3c849d7e9f68748f9b2c13bfef4c2239f /utils | |
parent | 8934169666f01534b4b2de10986030318760de89 (diff) | |
download | rockbox-9851849ae6e648df617542c22111fe542cb0fd23.tar.gz rockbox-9851849ae6e648df617542c22111fe542cb0fd23.zip |
hwstub/jz4760b: build packtools automatically if neeeded
Change-Id: I543e405bf75868d0f7509a35e08fe31ed253e0e6
Diffstat (limited to 'utils')
-rw-r--r-- | utils/hwstub/stub/jz4760b/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/hwstub/stub/jz4760b/Makefile b/utils/hwstub/stub/jz4760b/Makefile index 52595fc1c1..51455d5dc2 100644 --- a/utils/hwstub/stub/jz4760b/Makefile +++ b/utils/hwstub/stub/jz4760b/Makefile | |||
@@ -17,6 +17,13 @@ EXEC=$(BUILD_DIR)/factory.x1 | |||
17 | 17 | ||
18 | include ../hwstub.make | 18 | include ../hwstub.make |
19 | 19 | ||
20 | # make packtools if necessary | ||
21 | $(PACKTOOLS): | ||
22 | make -C $(JZ4760TOOLS) | ||
23 | |||
24 | # add dependency on packtool | ||
25 | $(BUILD_DIR)/factory.x1: $(PACKTOOLS) | ||
26 | |||
20 | $(BUILD_DIR)/factory.x1: $(EXEC_BIN) | 27 | $(BUILD_DIR)/factory.x1: $(EXEC_BIN) |
21 | $(call PRINTS,PACKTOOLS $(@F)) | 28 | $(call PRINTS,PACKTOOLS $(@F)) |
22 | $(SILENT)$(PACKTOOLS) --scramble -o $@ -i $< | 29 | $(SILENT)$(PACKTOOLS) --scramble -o $@ -i $< |