From 8c346dd7628daf37e635d620b1f279a3bc7b790a Mon Sep 17 00:00:00 2001 From: Oliver Schmidt Date: Sun, 21 Jun 2015 16:39:12 +0200 Subject: [PATCH] Removed (dysfunctional) dependency generation from cc65 .co file rule. The default gcc .co file rule doesn't support dependency generation too. --- cpu/6502/Makefile.customrules-6502 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/6502/Makefile.customrules-6502 b/cpu/6502/Makefile.customrules-6502 index d477a1d15..e0953362d 100644 --- a/cpu/6502/Makefile.customrules-6502 +++ b/cpu/6502/Makefile.customrules-6502 @@ -6,7 +6,7 @@ $(OBJECTDIR)/%.o: %.c | $(OBJECTDIR) CUSTOM_RULE_C_TO_CO = 1 %.co: %.c $(TRACE_CC) - $(Q)$(CC) -c -o $@ $(CFLAGS) -DAUTOSTART_ENABLE --create-dep $(@:.o=.d) $< + $(Q)$(CC) -c -o $@ $(CFLAGS) -DAUTOSTART_ENABLE $< CUSTOM_RULE_LINK = 1 %.$(TARGET): %.co $(PROJECT_OBJECTFILES) $(PROJECT_LIBRARIES) contiki-$(TARGET).a