[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] Don't build option roms on Mac OS X
From: |
Alexander Graf |
Subject: |
[Qemu-devel] [PATCH] Don't build option roms on Mac OS X |
Date: |
Fri, 17 Jul 2009 15:12:48 +0200 |
Mac OS X ships with a pretty broken assembler, so it can't build
the multiboot option rom.
Let's disable option rom compilation for Mac OS X.
Signed-off-by: Alexander Graf <address@hidden>
---
configure | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index edabe8d..efded55 100755
--- a/configure
+++ b/configure
@@ -204,6 +204,7 @@ sdl="yes"
sdl_x11="no"
xen="yes"
pkgversion=""
+broken_asm=""
# OS specific
if check_define __linux__ ; then
@@ -289,6 +290,8 @@ cocoa="yes"
audio_drv_list="coreaudio"
audio_possible_drivers="coreaudio sdl fmod"
OS_LDFLAGS="-framework CoreFoundation -framework IOKit"
+# Mac OS X ships with an utterly broken assembler
+broken_asm=yes
;;
SunOS)
solaris="yes"
@@ -1827,6 +1830,12 @@ roms=
if test "$cpu" = "i386" -o "$cpu" = "x86_64" ; then
roms="pc-bios/optionrom"
fi
+
+# Some systems (namely Mac OS X) have a broken assembler, so they
+# can't build option roms. Disable them for those.
+if test "$broken_asm" = "yes" ; then
+ roms=
+fi
echo "ROMS=$roms" >> $config_host_mak
if test -f ${config_host_h}~ ; then
--
1.6.0.2
- [Qemu-devel] [PATCH] Don't build option roms on Mac OS X,
Alexander Graf <=