[coreboot] Patch set updated for coreboot: 46b7be0 Prevent multiple inclusions of object files and rules

Patrick Georgi (patrick@georgi-clan.de) gerrit at coreboot.org
Fri Oct 28 19:19:27 CEST 2011


Patrick Georgi (patrick at 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 at 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 at google.com>
    Signed-off-by: Patrick Georgi <patrick at 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)))




More information about the coreboot mailing list