From: Carsten Schlote <[email protected]>

Defaults to m68030 and no 882 now.

Signed-off-by: Carsten Schlote <[email protected]>
---
 fixup_ptxconfigs.sh |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/fixup_ptxconfigs.sh b/fixup_ptxconfigs.sh
index 1644afa..4e6d396 100755
--- a/fixup_ptxconfigs.sh
+++ b/fixup_ptxconfigs.sh
@@ -111,6 +111,9 @@ fixup()
        i?86*)
            PTXCONF_ARCH_I386=y
            ;;
+       m68k*)
+           PTXCONF_ARCH_M68K=y
+           ;;
        mips*)
            PTXCONF_ARCH_MIPS=y
            ;;
@@ -179,7 +182,6 @@ fixup()
            PTXCONF_CROSS_GCC_CONFIG_EXTRA="--with-float=soft   --with-fpu=vfp  
--with-cpu=cortex-m3                            --with-mode=thumb"
            ;;
 
-
        i586-unknown-linux-gnu)
            PTXCONF_CROSS_GCC_CONFIG_EXTRA="--with-arch=i586"
            ;;
@@ -187,10 +189,16 @@ fixup()
            PTXCONF_CROSS_GCC_CONFIG_EXTRA="--with-arch=i686"
            ;;
 
+       m68k-linux-gnu)
+           PTXCONF_CROSS_GCC_CONFIG_EXTRA="--with-cpu=m68030"
+           PTXCONF_GLIBC_CONFIG_EXTRA="--without-fp"
+           ;;
+
        mipsel-softfloat-linux-gnu)
            PTXCONF_CROSS_GCC_CONFIG_EXTRA="--with-float=soft"
            PTXCONF_GLIBC_CONFIG_EXTRA="--without-fp"
            ;;
+
        powerpc-603e-linux-gnu)
            PTXCONF_CROSS_GCC_CONFIG_EXTRA="--with-cpu=603e     
--disable-altivec"
            ;;
-- 
1.6.6.1


--
ptxdist mailing list
[email protected]

Reply via email to