summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2015-05-25 17:29:39 +0200
committerPatrick Georgi <pgeorgi@google.com>2015-05-25 18:05:06 +0200
commitf48179f171258486d4b0338d2055810b88802d7e (patch)
treea151edf3db4ebed2fc461d646d8ad9ced1d5bafe
parentbc3cee538ddabe73c678f1f71166a6d1247c1531 (diff)
build system: drop generic util/ %.c -> %.o rule
It shouldn't be necessary because tools should give their own rules. Change-Id: I8654afaf4f64a14a73677d9901562f7d962f0404 Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/10290 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
-rw-r--r--Makefile.inc4
1 files changed, 0 insertions, 4 deletions
diff --git a/Makefile.inc b/Makefile.inc
index 61f13cb3de..0c688f7d4d 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -351,10 +351,6 @@ $(obj)/mainboard/$(MAINBOARDDIR)/static.c: $(src)/mainboard/$(MAINBOARDDIR)/devi
ramstage-y+=$(obj)/mainboard/$(MAINBOARDDIR)/static.c
romstage-y+=$(obj)/mainboard/$(MAINBOARDDIR)/static.c
-$(objutil)/%.o: $(objutil)/%.c
- @printf " HOSTCC $(subst $(objutil)/,,$(@))\n"
- $(HOSTCC) -MMD -I$(subst $(objutil)/,util/,$(dir $<)) -I$(dir $<) $(HOSTCFLAGS) -c -o $@ $<
-
$(obj)/%.ramstage.o $(abspath $(obj))/%.ramstage.o: $(obj)/%.c $(obj)/config.h $(OPTION_TABLE_H)
@printf " CC $(subst $(obj)/,,$(@))\n"
$(CC_ramstage) -MMD $(CFLAGS_ramstage) $(CPPFLAGS_ramstage) $(ramstage-c-ccopts) -c -o $@ $<