2009-11-05 Miguel de Icaza <miguel@novell.com>
authorMiguel de Icaza <miguel@gnome.org>
Thu, 5 Nov 2009 22:34:41 +0000 (22:34 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Thu, 5 Nov 2009 22:34:41 +0000 (22:34 -0000)
* Add configure check for xbox360

svn path=/trunk/mono/; revision=145554

ChangeLog
configure.in

index 0c5c19d6dfc01393fb2bf96ad4e8e52cc27b70c0..8bc4ea3fe7e938f278efe3afc88ab7070d1b4b48 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-11-05  Miguel de Icaza  <miguel@novell.com>
+
+       * Add configure check for xbox360
+
 2009-11-04  Zoltan Varga  <vargaz@gmail.com>
 
        * acinclude.m4 (dolt_supported): Applied patch from Kornél Pál
index 0be2fe9094e24fd4b91730d7cb0b179d183a1a65..97a16e96b5d7745ed0a13e4ca40a648d151ec941 100644 (file)
@@ -2084,8 +2084,19 @@ if test "x$host" != "x$target"; then
                sizeof_register=8
                target_byte_order=G_BIG_ENDIAN
                ;;
+
+   powerpc64-xbox360-linux-gnu)
+               TARGET=POWERPC64
+               arch_target=powerpc64
+               AC_DEFINE(TARGET_XBOX360, 1, [...])
+               AC_DEFINE(MONO_CROSS_COMPILE,1,[The runtime is compiled for cross-compiling mode])
+               # It would be better to just use TARGET_POWERPC64, but lots of code already
+               # uses this define
+               sizeof_register=8
+               target_byte_order=G_BIG_ENDIAN
+               ;;
        *)
-               AC_MSG_ERROR([Cross compiling is only supported for targets matching 'powerpc64-ps3-linux-gnu'])
+               AC_MSG_ERROR([Cross compiling is only supported for targets matching 'powerpc64-{ps3,xbox360}-linux-gnu'])
        esac
 fi