diff options
| author | Martin Oldfield <m@mjo.tc> | 2012-09-17 16:14:40 +0100 |
|---|---|---|
| committer | Martin Oldfield <m@mjo.tc> | 2012-09-17 16:25:08 +0100 |
| commit | b15aa4e88f25c48badfe2545835a148bb8f67243 (patch) | |
| tree | 70176f45f09b11af302d133d5e3a60f81120c644 | |
| parent | c6fef7c499a21ec1443f540957ae2f4ae3544841 (diff) | |
Made the size target look at the ELF file, not the hex, as per Jared Szechy's patch. Craig Leres made a similar comment
| -rw-r--r-- | arduino-mk/Arduino.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arduino-mk/Arduino.mk b/arduino-mk/Arduino.mk index 5261afa..38d8217 100644 --- a/arduino-mk/Arduino.mk +++ b/arduino-mk/Arduino.mk @@ -679,8 +679,8 @@ clean: depends: $(DEPS) cat $(DEPS) > $(DEP_FILE) -size: $(OBJDIR) $(TARGET_HEX) - $(SIZE) $(TARGET_HEX) +size: $(OBJDIR) $(TARGET_ELF) + $(SIZE) -C --mcu=$(MCU) $(TARGET_ELF) show_boards: $(PARSE_BOARD_CMD) --boards |
