Explorar el Código

Fix the link target

Fred Sundvik hace 9 años
padre
commit
1e3db59097
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      tmk_core/rules.mk

+ 1 - 1
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.