forked from len0rd/rockbox
hwstub/jz4760b: build packtools automatically if neeeded
Change-Id: I543e405bf75868d0f7509a35e08fe31ed253e0e6
This commit is contained in:
parent
8934169666
commit
9851849ae6
1 changed files with 7 additions and 0 deletions
|
|
@ -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 $<
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue