From b3561349d8d6d366c8cfd4fa1cdcb0515a3e65ae Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ra=C3=BAl=20Porcel?= Date: Thu, 3 May 2012 18:59:26 +0000 Subject: [PATCH] Add armv6j_hardfp --- ChangeLog | 5 ++++- arch/arm.py | 8 ++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b6df4d53..59ce6e01 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,11 @@ # ChangeLog for catalyst -# Copyright 1999-2011 Gentoo Foundation; 2008-2011 Various authors (see AUTHORS) +# Copyright 1999-2012 Gentoo Foundation; 2008-2011 Various authors (see AUTHORS) # Distributed under the GPL v2 # $Id$ + 03 May 2012; Raúl Porcel arch/arm.py: + Add armv6j_hardfp + 26 Jun 2011; Matt Turner targets/support/chroot-functions.sh: Don't run 'distcc-config --install' 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 -- 2.26.2