qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Don't build option roms on Mac OS X
@ 2009-07-17 13:12 Alexander Graf
  2009-07-17 14:36 ` quintela
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Graf @ 2009-07-17 13:12 UTC (permalink / raw)
  To: qemu-devel

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 <agraf@suse.de>
---
 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-07-17 14:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-17 13:12 [Qemu-devel] [PATCH] Don't build option roms on Mac OS X Alexander Graf
2009-07-17 14:36 ` quintela

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).