added 'make mfkey' and 'make nonce2key', 'make all' now builds mfkey and nonce2key

This commit is contained in:
Brian Pow 2018-02-04 21:54:35 +08:00
parent 6605d92fbb
commit d412240760

View file

@ -23,7 +23,13 @@ FLASH_PORT=com3
PATHSEP=\\# PATHSEP=\\#
endif endif
all clean: %: client/% bootrom/% armsrc/% recovery/% all clean: %: client/% bootrom/% armsrc/% recovery/% mfkey/% nonce2key/%
mfkey/%: FORCE
$(MAKE) -C tools/mfkey $(patsubst mfkey/%,%,$@)
nonce2key/%: FORCE
$(MAKE) -C tools/nonce2key $(patsubst nonce2key/%,%,$@)
bootrom/%: FORCE bootrom/%: FORCE
$(MAKE) -C bootrom $(patsubst bootrom/%,%,$@) $(MAKE) -C bootrom $(patsubst bootrom/%,%,$@)
@ -45,6 +51,8 @@ help:
@echo + flash-bootrom - Make bootrom and flash it @echo + flash-bootrom - Make bootrom and flash it
@echo + flash-os - Make armsrc and flash os \(includes fpga\) @echo + flash-os - Make armsrc and flash os \(includes fpga\)
@echo + flash-all - Make bootrom and armsrc and flash bootrom and os image @echo + flash-all - Make bootrom and armsrc and flash bootrom and os image
@echo + mfkey - Make tools/mfkey
@echo + nounce2key - Make tools/nounce2key
@echo + clean - Clean in bootrom, armsrc and the OS-specific host directory @echo + clean - Clean in bootrom, armsrc and the OS-specific host directory
client: client/all client: client/all