summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-03-30 20:32:01 +0000
committerStefan Reinauer <stepan@openbios.org>2010-03-30 20:32:01 +0000
commitacdd52fa82e2157f0777d2d2aab5d74bdc5dcec4 (patch)
treee789048bca1b09475693bca230c123ed5b97b025 /Makefile
parent0ed0b7cfe819ffcf0a1c305deb63b6ea8ace78bb (diff)
downloadcoreboot-acdd52fa82e2157f0777d2d2aab5d74bdc5dcec4.tar.gz
coreboot-acdd52fa82e2157f0777d2d2aab5d74bdc5dcec4.tar.bz2
coreboot-acdd52fa82e2157f0777d2d2aab5d74bdc5dcec4.zip
make crt0s and ldscripts evaluate late, so the chipset_* variables are there at
the time they are finally used. This should solve the Problem Myles was seeing earlier today. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5330 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 183b3ac619ba..2a7eac954bab 100644
--- a/Makefile
+++ b/Makefile
@@ -165,8 +165,6 @@ objs:=$(obj)/mainboard/$(MAINBOARDDIR)/static.o
initobjs:=
drivers:=
smmobjs:=
-crt0s:=
-ldscripts:=
types:=obj initobj driver smmobj
# Clean -y variables, include Makefile.inc
@@ -263,7 +261,8 @@ printall:
@echo LIBGCC_FILE_NAME=$(LIBGCC_FILE_NAME)
printcrt0s:
- @echo $(patsubst $(top)/%,%,$(crt0s))
+ @echo crt0s=$(crt0s)
+ @echo ldscripts=$(ldscripts)
OBJS := $(patsubst %,$(obj)/%,$(TARGETS-y))
INCLUDES := -Isrc -Isrc/include -I$(obj) -Isrc/arch/$(ARCHDIR-y)/include