From: Raúl Porcel Date: Thu, 3 May 2012 18:58:14 +0000 (+0000) Subject: Add armv6j_hardfp X-Git-Tag: CATALYST-2.0.10~3^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2025317c5ae08e1204ad400f0fe3333806b0b3d6;p=catalyst.git Add armv6j_hardfp --- diff --git a/ChangeLog b/ChangeLog index 965171ae..c971efc0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,11 @@ # ChangeLog for catalyst -# Copyright 1999-2011 Gentoo Foundation; 2008-2009 Various authors (see AUTHORS) +# Copyright 1999-2012 Gentoo Foundation; 2008-2009 Various authors (see AUTHORS) # Distributed under the GPL v2 # $Id$ + 03 May 2012; Raúl Porcel modules/catalyst/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/modules/catalyst/arch/arm.py b/modules/catalyst/arch/arm.py index 77407011..8a4ea9f2 100644 --- a/modules/catalyst/arch/arm.py +++ b/modules/catalyst/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): @@ -116,6 +123,7 @@ _subarch_map = { "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