Add armv6j_hardfp
authorRaúl Porcel <armin76@gentoo.org>
Thu, 3 May 2012 18:59:26 +0000 (18:59 +0000)
committerRaúl Porcel <armin76@gentoo.org>
Thu, 3 May 2012 18:59:26 +0000 (18:59 +0000)
ChangeLog
arch/arm.py

index b6df4d53fd3f8a0104131204988f09ef8be9f0cd..59ce6e0102e04f4a4583062a1888f034db2959e5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,11 @@
 # ChangeLog for catalyst
-# Copyright 1999-2011 Gentoo Foundation; 2008-2011 Various authors (see AUTHORS)
+# Copyright 1999-2012 Gentoo Foundation; 2008-2011 Various authors (see AUTHORS)
 # Distributed under the GPL v2
 # $Id$
 
+  03 May 2012; Raúl Porcel <armin76@gentoo.org> arch/arm.py:
+  Add armv6j_hardfp
+
   26 Jun 2011; Matt Turner <mattst88@gentoo.org>
   targets/support/chroot-functions.sh:
   Don't run 'distcc-config --install'
index 5fff445e7729de11f142d0f7985983a18be27d87..d476cb0b7bd21b98cef690831d0fb9622cf0d1ea 100644 (file)
@@ -91,6 +91,13 @@ class arch_armv7a(generic_arm):
                self.settings["CHOST"]="armv7a-unknown-linux-gnueabi"
                self.settings["CFLAGS"]+=" -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp"
 
+class arch_armv6j_hardfp(generic_arm):
+       "Builder class for armv6j hardfloat target, needs >=gcc-4.5"
+       def __init__(self,myspec):
+               generic_arm.__init__(self,myspec)
+               self.settings["CHOST"]="armv6j-hardfloat-linux-gnueabi"
+               self.settings["CFLAGS"]+=" -march=armv6j -mfpu=vfp -mfloat-abi=hard"
+
 class arch_armv7a_hardfp(generic_arm):
        "Builder class for armv7a hardfloat target, needs >=gcc-4.5"
        def __init__(self,myspec):
@@ -118,6 +125,7 @@ def register():
                "armv6z" : arch_armv6z,
                "armv6zk" : arch_armv6zk,
                "armv7a" : arch_armv7a,
+               "armv6j_hardfp" : arch_armv6j_hardfp,
                "armv7a_hardfp" : arch_armv7a_hardfp,
                "armeb"  : arch_armeb,
                "armv5teb" : arch_armv5teb