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>
This commit is contained in:
parent
bc3cee538d
commit
f48179f171
|
@ -351,10 +351,6 @@ $(obj)/mainboard/$(MAINBOARDDIR)/static.c: $(src)/mainboard/$(MAINBOARDDIR)/devi
|
||||||
ramstage-y+=$(obj)/mainboard/$(MAINBOARDDIR)/static.c
|
ramstage-y+=$(obj)/mainboard/$(MAINBOARDDIR)/static.c
|
||||||
romstage-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)
|
$(obj)/%.ramstage.o $(abspath $(obj))/%.ramstage.o: $(obj)/%.c $(obj)/config.h $(OPTION_TABLE_H)
|
||||||
@printf " CC $(subst $(obj)/,,$(@))\n"
|
@printf " CC $(subst $(obj)/,,$(@))\n"
|
||||||
$(CC_ramstage) -MMD $(CFLAGS_ramstage) $(CPPFLAGS_ramstage) $(ramstage-c-ccopts) -c -o $@ $<
|
$(CC_ramstage) -MMD $(CFLAGS_ramstage) $(CPPFLAGS_ramstage) $(ramstage-c-ccopts) -c -o $@ $<
|
||||||
|
|
Loading…
Reference in New Issue