diff options
Diffstat (limited to 'tmk_core/rules.mk')
| -rw-r--r-- | tmk_core/rules.mk | 6 |
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: | |||
| 234 | MSG_EXTENDED_COFF = Converting to AVR Extended COFF: | 234 | MSG_EXTENDED_COFF = Converting to AVR Extended COFF: |
| 235 | MSG_FLASH = Creating load file for Flash: | 235 | MSG_FLASH = Creating load file for Flash: |
| 236 | MSG_EEPROM = Creating load file for EEPROM: | 236 | MSG_EEPROM = Creating load file for EEPROM: |
| 237 | MSG_BIN = Creating binary load file for Flash: | ||
| 237 | MSG_EXTENDED_LISTING = Creating Extended Listing: | 238 | MSG_EXTENDED_LISTING = Creating Extended Listing: |
| 238 | MSG_SYMBOL_TABLE = Creating Symbol Table: | 239 | MSG_SYMBOL_TABLE = Creating Symbol Table: |
| 239 | MSG_LINKING = Linking: | 240 | MSG_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) |
