Patchwork [v2,2/2] ppc64: Don't try to build sPAPR RTAS on Darwin

login
register
mail settings
Submitter Andreas Färber
Date May 8, 2011, 11:25 a.m.
Message ID <1304853957-8244-2-git-send-email-andreas.faerber@web.de>
Download mbox | patch
Permalink /patch/94550/
State New
Headers show

Comments

Andreas Färber - May 8, 2011, 11:25 a.m.
The Darwin assembler fails to build it.

Cc: David Gibson <david@gibson.dropbear.id.au>
Cc: Alexander Graf <agraf@suse.de>
Signed-off-by: Andreas Färber <andreas.faerber@web.de>
---
 configure |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/configure b/configure
index 9244260..b6276f3 100755
--- a/configure
+++ b/configure
@@ -2540,7 +2540,7 @@  if test \( "$cpu" = "i386" -o "$cpu" = "x86_64" \) -a \
         "$softmmu" = yes ; then
   roms="optionrom"
 fi
-if test "$cpu" = "ppc64" ; then
+if test "$cpu" = "ppc64" -a "$targetos" != "Darwin" ; then
   roms="$roms spapr-rtas"
 fi