From d41224076057a6117eb96d19037655c416b2fea4 Mon Sep 17 00:00:00 2001 From: Brian Pow Date: Sun, 4 Feb 2018 21:54:35 +0800 Subject: [PATCH] added 'make mfkey' and 'make nonce2key', 'make all' now builds mfkey and nonce2key --- Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 54518020b..e61006b71 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,13 @@ FLASH_PORT=com3 PATHSEP=\\# 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 $(MAKE) -C bootrom $(patsubst bootrom/%,%,$@) @@ -45,8 +51,10 @@ help: @echo + flash-bootrom - Make bootrom and flash it @echo + flash-os - Make armsrc and flash os \(includes fpga\) @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 - + client: client/all flash-bootrom: bootrom/obj/bootrom.elf $(FLASH_TOOL)