Patrick Georgi (patrick@georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/338
-gerrit
commit 46b7be06c82f59498c876f4e06e3dacf32fb16ac Author: Patrick Georgi patrick@georgi-clan.de 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 reinauer@google.com Signed-off-by: Patrick Georgi patrick@georgi-clan.de --- Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile index c543897..ce4b3e0 100644 --- a/Makefile +++ b/Makefile @@ -205,7 +205,7 @@ subdirs:=$(TOPLEVEL) $(eval $(call evaluate_subdirs))
src-to-obj=$(addsuffix .$(1).o, $(basename $(patsubst src/%, $(obj)/%, $($(1)-srcs)))) -$(foreach class,$(classes),$(eval $(class)-objs:=$(call src-to-obj,$(class)))) +$(foreach class,$(classes),$(eval $(class)-objs:=$(sort $(call src-to-obj,$(class)))))
allsrcs:=$(foreach var, $(addsuffix -srcs,$(classes)), $($(var))) allobjs:=$(foreach var, $(addsuffix -objs,$(classes)), $($(var)))