summaryrefslogtreecommitdiff
path: root/tmk_core
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2016-07-08 18:18:33 +0300
committerFred Sundvik <fsundvik@gmail.com>2016-07-08 18:18:33 +0300
commit1e3db59097f8c396d69179fdd66ef0131a6ba80d (patch)
tree80fd9a45f3a3196ad77d15c7eeac38ae785e93e2 /tmk_core
parentccebceeb6f24aeee102f6ef3180f4f563ca025a8 (diff)
downloadqmk_firmware-1e3db59097f8c396d69179fdd66ef0131a6ba80d.tar.gz
qmk_firmware-1e3db59097f8c396d69179fdd66ef0131a6ba80d.zip
Fix the link target
Diffstat (limited to 'tmk_core')
-rw-r--r--tmk_core/rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/rules.mk b/tmk_core/rules.mk
index a518fc0c3f..543d3da8a0 100644
--- a/tmk_core/rules.mk
+++ b/tmk_core/rules.mk
@@ -365,7 +365,7 @@ gccversion :
.PRECIOUS : $(OBJ)
%.elf: gccversion sizebefore check_submodule $(OBJ)
@$(SILENT) || printf "$(MSG_LINKING) $@" | $(AWK_CMD)
- $(eval CMD=$(CC) $(ALL_CFLAGS) $(OBJ) --output $@ $(LDFLAGS))
+ $(eval CMD=$(CC) $(ALL_CFLAGS) $(filter-out gccversion sizebefore check_submodule,$^) --output $@ $(LDFLAGS))
@$(BUILD_CMD)
# Compile: create object files from C source files.