1
0
Fork 0
forked from len0rd/rockbox

hwstub/jz4760b: build packtools automatically if neeeded

Change-Id: I543e405bf75868d0f7509a35e08fe31ed253e0e6
This commit is contained in:
Amaury Pouly 2017-01-17 11:53:48 +01:00
parent 8934169666
commit 9851849ae6

View file

@ -17,6 +17,13 @@ EXEC=$(BUILD_DIR)/factory.x1
include ../hwstub.make include ../hwstub.make
# make packtools if necessary
$(PACKTOOLS):
make -C $(JZ4760TOOLS)
# add dependency on packtool
$(BUILD_DIR)/factory.x1: $(PACKTOOLS)
$(BUILD_DIR)/factory.x1: $(EXEC_BIN) $(BUILD_DIR)/factory.x1: $(EXEC_BIN)
$(call PRINTS,PACKTOOLS $(@F)) $(call PRINTS,PACKTOOLS $(@F))
$(SILENT)$(PACKTOOLS) --scramble -o $@ -i $< $(SILENT)$(PACKTOOLS) --scramble -o $@ -i $<