X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=Makefile_main.inc;h=7a06948ae85c0c2c7a8593d0d974da06b7be05ef;hb=628319e6c3018268ef1c307976a0e81e4dc549b8;hp=1edb6601f601c719bf59330314f0948a054de713;hpb=7715ef86b09869014eb5afd319e4acc2ce157b00;p=avr-crypto-lib.git diff --git a/Makefile_main.inc b/Makefile_main.inc index 1edb660..7a06948 100644 --- a/Makefile_main.inc +++ b/Makefile_main.inc @@ -191,7 +191,7 @@ endef $(foreach algo, $(ALGORITHMS), $(eval $(call TestBin_TEMPLATE, \ $(algo), \ - $(BIN_DIR)$(call lc, $(algo))/$(TEST_DIR)main-$(call lc, $(algo))-test.elf \ + $(BIN_DIR)$(call lc, $(algo))/$(TEST_DIR)main-$(call lc, $(algo))-test.hex \ ))) #------------------------------------------------------------------------------- @@ -210,6 +210,12 @@ $(foreach algo, $(ALGORITHMS), $(eval $(call Listing_TEMPLATE, \ %.hex: %.elf @echo "[objcopy]: $@" @$(OBJCOPY) -j .text -j .data -O ihex $< $@ +ifdef HASH_TOOL +ifneq ($(HASH_TOOL),) + @echo -n "[$(HASH_TOOL)]: " + @$(HASH_TOOL) $@ +endif +endif #-------------------------------------------------------------------------------