summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
-rw-r--r--src/arch/i386/Makefile.inc4
2 files changed, 4 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 183b3ac619..2a7eac954b 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
diff --git a/src/arch/i386/Makefile.inc b/src/arch/i386/Makefile.inc
index 2712f7dd81..e9d651c1e9 100644
--- a/src/arch/i386/Makefile.inc
+++ b/src/arch/i386/Makefile.inc
@@ -83,8 +83,8 @@ $(obj)/coreboot.a: $$(objs)
#######################################################################
# done
-crt0s :=
-ldscripts :=
+crt0s =
+ldscripts =
ldscripts += $(src)/arch/i386/init/ldscript_fallback_cbfs.lb
ifeq ($(CONFIG_BIG_BOOTBLOCK),y)
crt0s += $(src)/cpu/x86/16bit/entry16.inc