diff options
Diffstat (limited to 'tmk_core/rules.mk')
| -rw-r--r-- | tmk_core/rules.mk | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/tmk_core/rules.mk b/tmk_core/rules.mk index 9aa4ac8cf..e8e3de571 100644 --- a/tmk_core/rules.mk +++ b/tmk_core/rules.mk | |||
| @@ -267,15 +267,6 @@ sym: $(BUILD_DIR)/$(TARGET).sym | |||
| 267 | LIBNAME=lib$(TARGET).a | 267 | LIBNAME=lib$(TARGET).a |
| 268 | lib: $(LIBNAME) | 268 | lib: $(LIBNAME) |
| 269 | 269 | ||
| 270 | check_submodule: | ||
| 271 | git submodule status --recursive | \ | ||
| 272 | while IFS= read -r x; do \ | ||
| 273 | case "$$x" in \ | ||
| 274 | \ *) ;; \ | ||
| 275 | *) printf "$(MSG_SUBMODULE_DIRTY)";break;; \ | ||
| 276 | esac \ | ||
| 277 | done | ||
| 278 | |||
| 279 | # Display size of file. | 270 | # Display size of file. |
| 280 | HEXSIZE = $(SIZE) --target=$(FORMAT) $(TARGET).hex | 271 | HEXSIZE = $(SIZE) --target=$(FORMAT) $(TARGET).hex |
| 281 | #ELFSIZE = $(SIZE) --mcu=$(MCU) --format=avr $(TARGET).elf | 272 | #ELFSIZE = $(SIZE) --mcu=$(MCU) --format=avr $(TARGET).elf |
| @@ -337,7 +328,7 @@ gccversion : | |||
| 337 | $(eval CMD=$(AR) $@ $(OBJ) ) | 328 | $(eval CMD=$(AR) $@ $(OBJ) ) |
| 338 | @$(BUILD_CMD) | 329 | @$(BUILD_CMD) |
| 339 | 330 | ||
| 340 | BEGIN = gccversion check_submodule sizebefore | 331 | BEGIN = gccversion sizebefore |
| 341 | 332 | ||
| 342 | # Link: create ELF output file from object files. | 333 | # Link: create ELF output file from object files. |
| 343 | .SECONDARY : $(BUILD_DIR)/$(TARGET).elf | 334 | .SECONDARY : $(BUILD_DIR)/$(TARGET).elf |
| @@ -443,6 +434,6 @@ $(shell mkdir $(KBOBJDIR) 2>/dev/null) | |||
| 443 | 434 | ||
| 444 | # Listing of phony targets. | 435 | # Listing of phony targets. |
| 445 | .PHONY : all finish sizebefore sizeafter gccversion \ | 436 | .PHONY : all finish sizebefore sizeafter gccversion \ |
| 446 | build elf hex eep lss sym coff extcoff check_submodule \ | 437 | build elf hex eep lss sym coff extcoff \ |
| 447 | clean clean_list debug gdb-config show_path \ | 438 | clean clean_list debug gdb-config show_path \ |
| 448 | program teensy dfu flip dfu-ee flip-ee dfu-start \ No newline at end of file | 439 | program teensy dfu flip dfu-ee flip-ee dfu-start \ No newline at end of file |
