Hi, 

See attached trivial patch.

This fix might apply to other boards that only have -mcpu=i386 set in
ROMCCFLAGS. Still, some won't work because of too large binaries that
won't fit the ROM size when enabling the netconsole.

Signed-off-by: Cristi Magherusan <[email protected]>

Regards,
Cristi

-- 
Cristi Măgherușan, alumnus System/Network Engineer
Technical University of Cluj-Napoca, Romania
http://cc.utcluj.ro  +40264 401247
From bfc4271c587b0c6136a5da911621a4f31ec9664b Mon Sep 17 00:00:00 2001
From: Cristi Magherusan <[email protected]>
Date: Sat, 24 Jul 2010 01:39:18 +0300
Subject: [PATCH] Fix for qemu target compilation with the RTL8029AS netconsole setting enabled

This fix might apply to other boards that only have -mcpu=i386 set in
ROMCCFLAGS. Still, some won't work because of too large binaries that won't
fit the ROM size when enabling the netconsole.

Signed-off-by: Cristi Magherusan <[email protected]>
---
 src/mainboard/emulation/qemu-x86/Makefile.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mainboard/emulation/qemu-x86/Makefile.inc b/src/mainboard/emulation/qemu-x86/Makefile.inc
index 20ca977..a5d1266 100644
--- a/src/mainboard/emulation/qemu-x86/Makefile.inc
+++ b/src/mainboard/emulation/qemu-x86/Makefile.inc
@@ -1,3 +1,3 @@
-ROMCCFLAGS := -mcpu=i386 -O
+ROMCCFLAGS := -mcpu=i386 -mmmx -O
 
 obj-y += northbridge.o
-- 
1.7.2

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to