Patrick Georgi ([email protected]) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/338
-gerrit commit 13b6a887ba3b4c28b1695bdb1974dc6a6fa65cd8 Author: Patrick Georgi <[email protected]> Date: Tue Oct 25 14:32:21 2011 -0700 Prevent multiple inclusions of object files and rules This removes 54 make warnings from the build Change-Id: I94ac9875526febe2f95334c1c3971641c1d27f8f Signed-off-by: Stefan Reinauer <[email protected]> Signed-off-by: Patrick Georgi <[email protected]> --- Makefile | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index c543897..f2277d1 100644 --- a/Makefile +++ b/Makefile @@ -204,6 +204,9 @@ evaluate_subdirs= \ subdirs:=$(TOPLEVEL) $(eval $(call evaluate_subdirs)) +# Eliminate duplicate mentions of source files in a class +$(foreach class,$(classes),$(eval $(class)-srcs:=$(sort $($(class)-srcs)))) + src-to-obj=$(addsuffix .$(1).o, $(basename $(patsubst src/%, $(obj)/%, $($(1)-srcs)))) $(foreach class,$(classes),$(eval $(class)-objs:=$(call src-to-obj,$(class)))) -- coreboot mailing list: [email protected] http://www.coreboot.org/mailman/listinfo/coreboot

