aboutsummaryrefslogtreecommitdiffstats
path: root/src/arch/mips/romstage.ld
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@chromium.org>2015-03-30 13:40:29 +0200
committerPatrick Georgi <pgeorgi@google.com>2015-03-30 20:41:20 +0200
commit6b65f0d8bd04041c24c1e9da8199c6e484192b5f (patch)
tree11807a79df3150a5192534a387bef026fa246842 /src/arch/mips/romstage.ld
parent10f86b0bd8c294870dd3026d1dd55835303c416f (diff)
downloadcoreboot-6b65f0d8bd04041c24c1e9da8199c6e484192b5f.tar.gz
coreboot-6b65f0d8bd04041c24c1e9da8199c6e484192b5f.tar.xz
coreboot-6b65f0d8bd04041c24c1e9da8199c6e484192b5f.zip
mips: Simplify architecture specific Makefile.inc
The mips Makefile was inherited from x86 and so included lots of stuff that is necessary on x86 but nowhere else. That cruft is now gone. It also adopts the non-x86 approach of handling linker scripts, hardcoding an include to ldoptions there, instead of manual concatenation (of just one file plus options). This is inspired by the commit listed below, but rewritten to match upstream, and split in smaller pieces to keep intent clear. Change-Id: Ibf0c7096f9425572d8f83837aa6a253fd91e212c Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Based-On-Change-Id: I50af7dacf616e0f8ff4c43f4acc679089ad7022b Based-On-Signed-off-by: Julius Werner <jwerner@chromium.org> Based-On-Reviewed-on: https://chromium-review.googlesource.com/219170 Reviewed-on: http://review.coreboot.org/9163 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@google.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/arch/mips/romstage.ld')
-rw-r--r--src/arch/mips/romstage.ld1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/mips/romstage.ld b/src/arch/mips/romstage.ld
index 896428523..f776bc8bb 100644
--- a/src/arch/mips/romstage.ld
+++ b/src/arch/mips/romstage.ld
@@ -20,6 +20,7 @@
*/
OUTPUT_ARCH(mips)
+INCLUDE ldoptions
ENTRY(stage_entry)