summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@coresystems.de>2010-02-25 17:03:17 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2010-02-25 17:03:17 +0000
commiteb49f9d04fd19114787c85c173a083574d13fece (patch)
tree663a353891c1ca65ac556e9a1c765139bd26bccc /Makefile
parentdbbecb5c17c5dc62f6115cf5ce076d972cc3b702 (diff)
Unify crt0s setup to src/arch/i386/Makefile.inc. This variable
is not something users have to concern themselves with anymore. Also fixes some wrong romstrap configs for boards, fixing a couple of them. Also add "make printcrt0s" target for debugging crt0s when updating modified checkouts. Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5162 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e87c2c8a3b..56cab7b55f 100644
--- a/Makefile
+++ b/Makefile
@@ -219,6 +219,9 @@ printall:
@echo alldirs:=$(alldirs)
@echo allsrc=$(allsrc)
+printcrt0s:
+ @echo $(patsubst $(top)/%,%,$(crt0s))
+
OBJS := $(patsubst %,$(obj)/%,$(TARGETS-y))
INCLUDES := -I$(top)/src -I$(top)/src/include -I$(obj) -I$(top)/src/arch/$(ARCHDIR-y)/include
INCLUDES += -I$(shell $(CC) -print-search-dirs | head -n 1 | cut -d' ' -f2)include