Patrick Rudolph has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/29877
Change subject: util/xcompile/xcompile: Enable x86_64 support ......................................................................
util/xcompile/xcompile: Enable x86_64 support
Compile for nocona on x86_64. Required for 64bit support.
Change-Id: Ied28f98f89610a748be8d66cf35814e9112a4407 Signed-off-by: Patrick Rudolph siro@das-labor.org --- M util/xcompile/xcompile 1 file changed, 7 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/77/29877/1
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile index 6d82a4d..90e8ec5 100755 --- a/util/xcompile/xcompile +++ b/util/xcompile/xcompile @@ -236,7 +236,13 @@ # The Quark processor doesn't support the instructions # introduced with the Pentium 6 architecture, so allow it # to use i586 instead. -if [ "${TARCH}" = "x86_64" ] || [ "${TARCH}" = "x86_32" ]; then +if [ "${TARCH}" = "x86_64" ]; then +cat <<EOF + GCC_CFLAGS_${TARCH} += -march=nocona +EOF +fi + +if [ "${TARCH}" = "x86_32" ]; then cat <<EOF
ifneq ($(CONFIG_USE_MARCH_586)$(CONFIG_LP_USE_MARCH_586),)