summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Reinauer <stefan.reinauer@coreboot.org>2013-02-28 00:12:18 +0100
committerRonald G. Minnich <rminnich@gmail.com>2013-02-28 17:59:44 +0100
commitf2e1f6a8628d4c13640688790be9550aa9839b34 (patch)
tree739bfadc770ae033a9502cda1718ef3e316bd663
parentef650a5d2456196d653667de7d02abc0591ec024 (diff)
downloadcoreboot-f2e1f6a8628d4c13640688790be9550aa9839b34.tar.xz
Drop SRC_ROOT from mainboard Makefile.incs
It's not used, and not needed. Change-Id: Ifca92f3606ac58fc26e09676488c3add5d84ae79 Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/2548 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
-rw-r--r--src/mainboard/emulation/qemu-armv7/Makefile.inc2
-rw-r--r--src/mainboard/google/butterfly/Makefile.inc2
-rw-r--r--src/mainboard/google/link/Makefile.inc4
-rw-r--r--src/mainboard/google/parrot/Makefile.inc2
-rw-r--r--src/mainboard/google/snow/Makefile.inc6
5 files changed, 1 insertions, 15 deletions
diff --git a/src/mainboard/emulation/qemu-armv7/Makefile.inc b/src/mainboard/emulation/qemu-armv7/Makefile.inc
index cea3b15ceb..80b392b11e 100644
--- a/src/mainboard/emulation/qemu-armv7/Makefile.inc
+++ b/src/mainboard/emulation/qemu-armv7/Makefile.inc
@@ -26,5 +26,3 @@ ramstage-y += timer.c
bootblock-$(CONFIG_EARLY_CONSOLE) += uart.c
romstage-$(CONFIG_EARLY_CONSOLE) += uart.c
ramstage-y += uart.c
-
-SRC_ROOT = $(src)/mainboard/emulation/qemu-armv7a
diff --git a/src/mainboard/google/butterfly/Makefile.inc b/src/mainboard/google/butterfly/Makefile.inc
index 9e753fba81..5b4e74c1dc 100644
--- a/src/mainboard/google/butterfly/Makefile.inc
+++ b/src/mainboard/google/butterfly/Makefile.inc
@@ -23,5 +23,3 @@ romstage-$(CONFIG_CHROMEOS) += chromeos.c
ramstage-$(CONFIG_CHROMEOS) += chromeos.c
smm-$(CONFIG_HAVE_SMI_HANDLER) += mainboard_smi.c
-
-SRC_ROOT = $(src)/mainboard/google/butterfly
diff --git a/src/mainboard/google/link/Makefile.inc b/src/mainboard/google/link/Makefile.inc
index 3f04a30d62..a769d95683 100644
--- a/src/mainboard/google/link/Makefile.inc
+++ b/src/mainboard/google/link/Makefile.inc
@@ -27,14 +27,12 @@ ramstage-$(CONFIG_MAINBOARD_DO_NATIVE_VGA_INIT) += i915io.c
smm-$(CONFIG_HAVE_SMI_HANDLER) += mainboard_smi.c
SPD_BIN = $(obj)/spd.bin
-SRC_ROOT = $(src)/mainboard/google/link
-
# Order of names in SPD_SOURCES is important!
SPD_SOURCES = elpida_4Gb_1600_x16
SPD_SOURCES += samsung_4Gb_1600_1.35v_x16
SPD_SOURCES += micron_4Gb_1600_1.35v_x16
-SPD_DEPS := $(foreach f, $(SPD_SOURCES), $(SRC_ROOT)/$(f).spd.hex)
+SPD_DEPS := $(foreach f, $(SPD_SOURCES), src/mainboard/$(MAINBOARDDIR)/$(f).spd.hex)
# Include spd rom data
$(SPD_BIN): $(SPD_DEPS)
diff --git a/src/mainboard/google/parrot/Makefile.inc b/src/mainboard/google/parrot/Makefile.inc
index f2de43ea40..5ad545487a 100644
--- a/src/mainboard/google/parrot/Makefile.inc
+++ b/src/mainboard/google/parrot/Makefile.inc
@@ -21,5 +21,3 @@ ramstage-y += ec.c
romstage-$(CONFIG_CHROMEOS) += chromeos.c
ramstage-$(CONFIG_CHROMEOS) += chromeos.c
-
-SRC_ROOT = $(src)/mainboard/google/parrot
diff --git a/src/mainboard/google/snow/Makefile.inc b/src/mainboard/google/snow/Makefile.inc
index 668e3b72ba..46e366fa7d 100644
--- a/src/mainboard/google/snow/Makefile.inc
+++ b/src/mainboard/google/snow/Makefile.inc
@@ -24,9 +24,3 @@ romstage-y += romstage.c
# ramstage-y += ec.c
ramstage-y += ramstage.c
ramstage-y += chromeos.c
-
-# romstage-$(CONFIG_CHROMEOS) += chromeos.c
-
-# FIXME: we should do something similar to x86 platforms for Snow SPDs
-
-SRC_ROOT = $(src)/mainboard/google/snow