From b1b6c2125f225a720a37ab9b153a79559f9aea05 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ra=C3=BAl=20Porcel?= Date: Sat, 4 Sep 2010 17:35:50 +0000 Subject: [PATCH] Fix typo and add armv7a-hardfp target --- ChangeLog | 3 +++ arch/arm.py | 9 ++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 96ba2d4a..b683ced1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,9 @@ # Distributed under the GPL v2 # $Id$ + 04 Sep 2010; Raúl Porcel arch/arm.py: + Fix typo and add armv7a-hardfp target + 04 Sep 2010; Raúl Porcel targets/support/bootloader-setup.sh, targets/support/create-iso.sh, targets/support/pre-kmerge.sh: diff --git a/arch/arm.py b/arch/arm.py index 6e13dd51..2334f8d9 100644 --- a/arch/arm.py +++ b/arch/arm.py @@ -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,12 @@ 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, needs >=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=hardfp" class arch_armv5teb(generic_armeb): "Builder class for armv5teb (XScale) target" @@ -136,6 +142,7 @@ def register(): "armv7a" : arch_armv7a, "armv7r" : arch_armv7r, "armv7m" : arch_armv7m, + "armv7a_hardfp" : arch_armv7a_hardfp, "armeb" : arch_armeb, "armv5teb" : arch_armv5teb }, ("arm", "armv4l", "armv4tl", "armv5tl", "armv5tel", "armv5tejl", "armv6l", -- 2.26.2