aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2012-05-03 18:59:26 +0000
committerRaúl Porcel <armin76@gentoo.org>2012-05-03 18:59:26 +0000
commitb3561349d8d6d366c8cfd4fa1cdcb0515a3e65ae (patch)
treef6118875b8032206ba6bbc2399f9fc81b49cedb5 /arch/arm.py
parentUpdate version to do a 2.0.8 release. (diff)
downloadcatalyst-b3561349d8d6d366c8cfd4fa1cdcb0515a3e65ae.tar.gz
catalyst-b3561349d8d6d366c8cfd4fa1cdcb0515a3e65ae.tar.bz2
catalyst-b3561349d8d6d366c8cfd4fa1cdcb0515a3e65ae.zip
Add armv6j_hardfp
Diffstat (limited to 'arch/arm.py')
-rw-r--r--arch/arm.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm.py b/arch/arm.py
index 5fff445e..d476cb0b 100644
--- a/arch/arm.py
+++ b/arch/arm.py
@@ -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