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.mk13
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
267LIBNAME=lib$(TARGET).a 267LIBNAME=lib$(TARGET).a
268lib: $(LIBNAME) 268lib: $(LIBNAME)
269 269
270check_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.
280HEXSIZE = $(SIZE) --target=$(FORMAT) $(TARGET).hex 271HEXSIZE = $(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
340BEGIN = gccversion check_submodule sizebefore 331BEGIN = 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 \
446build elf hex eep lss sym coff extcoff check_submodule \ 437build elf hex eep lss sym coff extcoff \
447clean clean_list debug gdb-config show_path \ 438clean clean_list debug gdb-config show_path \
448program teensy dfu flip dfu-ee flip-ee dfu-start \ No newline at end of file 439program teensy dfu flip dfu-ee flip-ee dfu-start \ No newline at end of file