X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=Makefile_main.inc;h=f448e8dacc81ee59ae7efd426ab07d51dd0a8ef9;hb=e7925dc3d2f76b73f54df0e22f69f789715eff8a;hp=1edb6601f601c719bf59330314f0948a054de713;hpb=7715ef86b09869014eb5afd319e4acc2ce157b00;p=avr-crypto-lib.git diff --git a/Makefile_main.inc b/Makefile_main.inc index 1edb660..f448e8d 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 #-------------------------------------------------------------------------------