aboutsummaryrefslogtreecommitdiff
path: root/tmk_core/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core/rules.mk')
-rw-r--r--tmk_core/rules.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/tmk_core/rules.mk b/tmk_core/rules.mk
index 7d3d8f9a6..352e9314b 100644
--- a/tmk_core/rules.mk
+++ b/tmk_core/rules.mk
@@ -234,6 +234,7 @@ MSG_COFF = Converting to AVR COFF:
234MSG_EXTENDED_COFF = Converting to AVR Extended COFF: 234MSG_EXTENDED_COFF = Converting to AVR Extended COFF:
235MSG_FLASH = Creating load file for Flash: 235MSG_FLASH = Creating load file for Flash:
236MSG_EEPROM = Creating load file for EEPROM: 236MSG_EEPROM = Creating load file for EEPROM:
237MSG_BIN = Creating binary load file for Flash:
237MSG_EXTENDED_LISTING = Creating Extended Listing: 238MSG_EXTENDED_LISTING = Creating Extended Listing:
238MSG_SYMBOL_TABLE = Creating Symbol Table: 239MSG_SYMBOL_TABLE = Creating Symbol Table:
239MSG_LINKING = Linking: 240MSG_LINKING = Linking:
@@ -369,6 +370,11 @@ gccversion :
369 $(eval CMD=$(NM) -n $< > $@ ) 370 $(eval CMD=$(NM) -n $< > $@ )
370 @$(BUILD_CMD) 371 @$(BUILD_CMD)
371 372
373%.bin: %.elf
374 @$(SILENT) || printf "$(MSG_BIN) $@" | $(AWK_CMD)
375 $(eval CMD=$(BIN) $< $@ || exit 0)
376 @$(BUILD_CMD)
377
372# Create library from object files. 378# Create library from object files.
373.SECONDARY : $(BUILD_DIR)/$(TARGET).a 379.SECONDARY : $(BUILD_DIR)/$(TARGET).a
374.PRECIOUS : $(OBJ) 380.PRECIOUS : $(OBJ)