Patchwork (trivial) Fix qemu target compilation with netconsole enabled

login
register
about
Submitter Cristi Magherusan
Date 2010-07-23 22:49:26
Message ID <1279925366.11979.4.camel@ufo>
Download mbox | patch
Permalink /patch/1675/
State New
Headers show

Comments

Cristi Magherusan - 2010-07-23 22:49:26
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 <cristi.magherusan@net.utcluj.ro>

Regards,
Cristi

Patch

From bfc4271c587b0c6136a5da911621a4f31ec9664b Mon Sep 17 00:00:00 2001
From: Cristi Magherusan <cristi.magherusan@net.utcluj.ro>
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 <cristi.magherusan@net.utcluj.ro>
---

 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