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

index 965171ae2903759fc69828baca7987d38d091265..c971efc008a564ec1c5e2700412d1e0eb214a94d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,11 @@
 # ChangeLog for catalyst
-# Copyright 1999-2011 Gentoo Foundation; 2008-2009 Various authors (see AUTHORS)
+# Copyright 1999-2012 Gentoo Foundation; 2008-2009 Various authors (see AUTHORS)
 # Distributed under the GPL v2
 # $Id$
 
+  03 May 2012; Raúl Porcel <armin76@gentoo.org> modules/catalyst/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 774070115dc43c6cfbd6823f1918c61216ac9fd8..8a4ea9f2c4e9ea94bf3d2a141137310ab51c3b05 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):
@@ -116,6 +123,7 @@ _subarch_map = {
        "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