Fix typo and add armv7a-hardfp target
authorRaúl Porcel <armin76@gentoo.org>
Sat, 4 Sep 2010 17:39:42 +0000 (17:39 +0000)
committerRaúl Porcel <armin76@gentoo.org>
Sat, 4 Sep 2010 17:39:42 +0000 (17:39 +0000)
ChangeLog
modules/catalyst/arch/arm.py

index 6ce96c1d92fcc99f85f5754eddea01cfe4f157dc..514579934902fe2fa9cf20ac367805deaee9edf1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,10 @@
 # Distributed under the GPL v2
 # $Id$
 
+  04 Sep 2010; Raúl Porcel <armin76@gentoo.org>
+  modules/catalyst/arch/arm.py:
+  Fix typo and add armv7a-hardfp target
+
   04 Sep 2010; Raúl Porcel <armin76@gentoo.org>
   targets/support/bootloader-setup.sh, targets/support/create-iso.sh,
   targets/support/pre-kmerge.sh:
index 1a3c88f83bf75d59042761e5f4c7b6b78dcff640..225f731de23d833e1e409540666faf01342d50a1 100644 (file)
@@ -102,7 +102,7 @@ class arch_armv7r(generic_arm):
        "Builder class for armv7r target"
        def __init__(self,myspec):
                generic_arm.__init__(self,myspec)
-               self.settings["CHOST"]="armv7rl-unknown-linux-gnueabi"
+               self.settings["CHOST"]="armv7r-unknown-linux-gnueabi"
                self.settings["CFLAGS"]+=" -march=armv7-r -mfpu=vfp -mfloat-abi=softfp"
 
 class arch_armv7m(generic_arm):
@@ -112,6 +112,13 @@ class arch_armv7m(generic_arm):
                self.settings["CHOST"]="armv7m-unknown-linux-gnueabi"
                self.settings["CFLAGS"]+=" -march=armv7-m -mfpu=vfp -mfloat-abi=softfp"
 
+class arch_armv7a_hardfp(generic_arm):
+       "Builder class for armv7a hardfloat target, requires >=gcc-4.5"
+       def __init__(self,myspec):
+               generic_arm.__init__(self,myspec)
+               self.settings["CHOST"]="armv7a-hardfloat-linux-gnueabi"
+               self.settings["CFLAGS"]+=" -march=armv7-a -mfpu=vfp -mfloat-abi=hard"
+
 class arch_armv5teb(generic_armeb):
        "Builder class for armv5teb (XScale) target"
        def __init__(self,myspec):
@@ -133,6 +140,7 @@ _subarch_map = {
        "armv7a" : arch_armv7a,
        "armv7r" : arch_armv7r,
        "armv7m" : arch_armv7m,
+       "armv7a_hardfp" : arch_armv7a_hardfp,
        "armeb"  : arch_armeb,
        "armv5teb" : arch_armv5teb
 }