From 4964b99515155b7f4f78a9d8c353886629f0bf25 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ra=C3=BAl=20Porcel?= Date: Sun, 26 Sep 2010 15:10:16 +0000 Subject: [PATCH] ARM fixes --- ChangeLog | 4 ++++ modules/catalyst/arch/arm.py | 28 ++-------------------------- 2 files changed, 6 insertions(+), 26 deletions(-) diff --git a/ChangeLog b/ChangeLog index ff8e3f18..1645d8e2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,10 @@ # Distributed under the GPL v2 # $Id$ + 26 Sep 2010; Raúl Porcel + modules/catalyst/arch/arm.py: + ARM fixes + 11 Sep 2010; Raúl Porcel targets/support/chroot-functions.sh: Apply patch to make stage2 quiet, thanks to Alexandre Nuno Milheiro diff --git a/modules/catalyst/arch/arm.py b/modules/catalyst/arch/arm.py index ad7a6872..77407011 100644 --- a/modules/catalyst/arch/arm.py +++ b/modules/catalyst/arch/arm.py @@ -70,13 +70,6 @@ class arch_armv6j(generic_arm): self.settings["CHOST"]="armv6j-unknown-linux-gnueabi" self.settings["CFLAGS"]+=" -march=armv6j -mfpu=vfp -mfloat-abi=softfp" -class arch_armv6t2(generic_arm): - "Builder class for armv6t2 target" - def __init__(self,myspec): - generic_arm.__init__(self,myspec) - self.settings["CHOST"]="armv6t2-unknown-linux-gnueabi" - self.settings["CFLAGS"]=" -march=armv6t2 -mfpu=vfp -mfloat-abi=softfp" - class arch_armv6z(generic_arm): "Builder class for armv6z target" def __init__(self,myspec): @@ -96,28 +89,14 @@ class arch_armv7a(generic_arm): def __init__(self,myspec): generic_arm.__init__(self,myspec) self.settings["CHOST"]="armv7a-unknown-linux-gnueabi" - self.settings["CFLAGS"]+=" -march=armv7-a -mfpu=vfp -mfloat-abi=softfp" - -class arch_armv7r(generic_arm): - "Builder class for armv7r target" - def __init__(self,myspec): - generic_arm.__init__(self,myspec) - self.settings["CHOST"]="armv7r-unknown-linux-gnueabi" - self.settings["CFLAGS"]+=" -march=armv7-r -mfpu=vfp -mfloat-abi=softfp" - -class arch_armv7m(generic_arm): - "Builder class for armv7m target" - def __init__(self,myspec): - generic_arm.__init__(self,myspec) - self.settings["CHOST"]="armv7m-unknown-linux-gnueabi" - self.settings["CFLAGS"]+=" -march=armv7-m -mfpu=vfp -mfloat-abi=softfp" + self.settings["CFLAGS"]+=" -march=armv7-a -mfpu=vfpv3-d16 -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=hard" + self.settings["CFLAGS"]+=" -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard" class arch_armv5teb(generic_armeb): "Builder class for armv5teb (XScale) target" @@ -134,12 +113,9 @@ _subarch_map = { "armv5tel": arch_armv5tel, "armv5tejl": arch_armv5tejl, "armv6j" : arch_armv6j, - "armv6t2" : arch_armv6t2, "armv6z" : arch_armv6z, "armv6zk" : arch_armv6zk, "armv7a" : arch_armv7a, - "armv7r" : arch_armv7r, - "armv7m" : arch_armv7m, "armv7a_hardfp" : arch_armv7a_hardfp, "armeb" : arch_armeb, "armv5teb" : arch_armv5teb -- 2.26.2