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))))) ...@@ -159,7 +159,7 @@ clean-dirs += $(call reverse,$(sort $(wildcard $(dir $(obj-files)))))
# default # default
.PHONY: all .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 # clean up
.PHONY: clean .PHONY: clean
...@@ -215,7 +215,13 @@ $(BUILD_DIR)/$(TARGET): $(PRJ_PATH)/$(LINKER_SCRIPT) $(MAKEFILE_PATH) $(MAKEFILE ...@@ -215,7 +215,13 @@ $(BUILD_DIR)/$(TARGET): $(PRJ_PATH)/$(LINKER_SCRIPT) $(MAKEFILE_PATH) $(MAKEFILE
%.bin: $(BUILD_DIR)/$(TARGET) %.bin: $(BUILD_DIR)/$(TARGET)
@echo $(MSG_BINARY_IMAGE) @echo $(MSG_BINARY_IMAGE)
$(Q)$(OBJCOPY) -O binary $< $@ $(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 .PHONY: program
program: program:
@echo $(MSG_PROGRAMMING) @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