Commit 6daedefc authored by Bernd-Christian Renner's avatar Bernd-Christian Renner
Browse files

added md5sum output to make

parent 9f2451a5
......@@ -159,7 +159,7 @@ clean-dirs += $(call reverse,$(sort $(wildcard $(dir $(obj-files)))))
# default
.PHONY: all
all: $(BUILD_DIR)/$(TARGET) $(BUILD_DIR)/$(PROJECT).lss $(BUILD_DIR)/$(PROJECT).sym $(BUILD_DIR)/$(PROJECT).hex $(BUILD_DIR)/$(PROJECT).bin
all: $(BUILD_DIR)/$(TARGET) $(BUILD_DIR)/$(PROJECT).lss $(BUILD_DIR)/$(PROJECT).sym $(BUILD_DIR)/$(PROJECT).hex $(BUILD_DIR)/$(PROJECT).bin stat
# clean up
.PHONY: clean
......@@ -216,6 +216,12 @@ $(BUILD_DIR)/$(TARGET): $(PRJ_PATH)/$(LINKER_SCRIPT) $(MAKEFILE_PATH) $(MAKEFILE
@echo $(MSG_BINARY_IMAGE)
$(Q)$(OBJCOPY) -O binary $< $@
stat:
@echo "\nbuild version: ${FIRMWARE_VERSION_STRING}"
@echo ".bin md5sum: $$(md5sum $(BUILD_DIR)/$(PROJECT).bin)"
@echo ".hex md5sum: $$(md5sum $(BUILD_DIR)/$(PROJECT).hex)"
.PHONY: program
program:
@echo $(MSG_PROGRAMMING)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment