From f2e1f6a8628d4c13640688790be9550aa9839b34 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Thu, 28 Feb 2013 00:12:18 +0100 Subject: Drop SRC_ROOT from mainboard Makefile.incs It's not used, and not needed. Change-Id: Ifca92f3606ac58fc26e09676488c3add5d84ae79 Signed-off-by: Stefan Reinauer Reviewed-on: http://review.coreboot.org/2548 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel --- src/mainboard/emulation/qemu-armv7/Makefile.inc | 2 -- src/mainboard/google/butterfly/Makefile.inc | 2 -- src/mainboard/google/link/Makefile.inc | 4 +--- src/mainboard/google/parrot/Makefile.inc | 2 -- src/mainboard/google/snow/Makefile.inc | 6 ------ 5 files changed, 1 insertion(+), 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 -- cgit v1.2.3