From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp2-g21.free.fr (smtp2-g21.free.fr [212.27.42.2]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id CA82FE00AE0 for ; Thu, 6 Mar 2014 02:21:08 -0800 (PST) Received: from e6520eb (unknown [88.170.243.169]) (Authenticated sender: eukrea) by smtp2-g21.free.fr (Postfix) with ESMTPSA id 6F7A94B0099; Thu, 6 Mar 2014 11:21:01 +0100 (CET) Date: Thu, 6 Mar 2014 11:21:00 +0100 From: Eric =?ISO-8859-1?B?QuluYXJk?= To: David Chirgwin Message-ID: <20140306112100.57aaae35@e6520eb> In-Reply-To: <798973342.90538.1394097278795.JavaMail.root@bluechiptechnology.co.uk> References: <1394053748-5611-1-git-send-email-otavio@ossystems.com.br> <798973342.90538.1394097278795.JavaMail.root@bluechiptechnology.co.uk> Organization: =?ISO-8859-1?B?RXVrculh?= Electromatique X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Cc: meta-freescale Mailing List Subject: Re: Vivante softfp with Yocto dora ?? X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Mar 2014 10:21:14 -0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi David, Le Thu, 6 Mar 2014 09:14:38 +0000 (GMT), David Chirgwin a =E9crit : > I have a customer who wants to add vivante support to an existing softfp = rootfs (their own custom distro). > At the moment I have supplied them a Yocto distro as a proof-of-concept (= based on Dora branch, using hardfp). > =20 > I have seen this post https://community.freescale.com/message/372390#3723= 90 which tells me how to persuade Yocto to use softfp for compilation. But = how would I tell Yocto I want the softfp versions of pre-compiled binaries = (in particular the vivante drivers)? > =20 > Is there a setting in conf/local.conf, or do I need a new recipe or somet= hing else? > =20 that's handled in meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc : # Skip package if it does not match the machine float-point type in use python __anonymous () { is_machine_hardfp =3D base_contains("TUNE_FEATURES", "callconvention-hard", True, False, d) is_package_hardfp =3D d.getVar("PACKAGE_FP_TYPE", True) =3D=3D "hardfp" if is_package_hardfp !=3D is_machine_hardfp: PN =3D d.getVar("PN", True) PV =3D d.getVar("PV", True) bb.debug(1, "Skipping %s (%s) as machine and package float-point does not match" % (PN, PV)) raise bb.parse.SkipPackage("Package Float-Point is not compatible with the machine") } Eric