[coreboot-gerrit] New patch to review for coreboot: 51570dd build system: drop generic util/ %.c -> %.o rule
Patrick Georgi (pgeorgi@google.com)
gerrit at coreboot.org
Mon May 25 17:30:11 CEST 2015
Patrick Georgi (pgeorgi at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10290
-gerrit
commit 51570dd2436f597abd0bda15f4d08103b9ad379e
Author: Patrick Georgi <patrick at georgi-clan.de>
Date: Mon May 25 17:29:39 2015 +0200
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 at georgi-clan.de>
---
Makefile.inc | 4 ----
1 file changed, 4 deletions(-)
diff --git a/Makefile.inc b/Makefile.inc
index 61f13cb..0c688f7 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 $@ $<
More information about the coreboot-gerrit
mailing list