From 0cd9ff8987f9d4f303e01aefe9bfc812916fee04 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Mon, 1 Feb 2016 17:33:37 -0700 Subject: xcompile: Add a way to specify -march=i586 Instead of instructing users to edit xcompile when they want to build a quark platform, give the build a way to set -march=586 so that the quark code will build correctly. The Quark processor does not support the instructions introduced with the Pentium 6 architecture. Change-Id: I0ed69aadc515f86f76800180e0e33bcd75feac5a Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/13552 Reviewed-by: Stefan Reinauer Tested-by: build bot (Jenkins) Reviewed-by: Leroy P Leahy Reviewed-by: Patrick Georgi Reviewed-by: FEI WANG --- src/arch/x86/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/arch/x86') diff --git a/src/arch/x86/Kconfig b/src/arch/x86/Kconfig index 738e7d1c0a..49f940acd1 100644 --- a/src/arch/x86/Kconfig +++ b/src/arch/x86/Kconfig @@ -58,6 +58,12 @@ config ARCH_RAMSTAGE_X86_64 bool default n +config USE_MARCH_586 + def_bool n + help + Allow a platform or processor to select to be compiled using + the '-march=i586' option instead of the typical '-march=i686' + # This is an SMP option. It relates to starting up APs. # It is usually set in mainboard/*/Kconfig. # TODO: Improve description. -- cgit v1.2.3