All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Eric Bénard" <eric@eukrea.com>
To: David Chirgwin <dchirgwin@bluechiptechnology.co.uk>
Cc: meta-freescale Mailing List <meta-freescale@yoctoproject.org>
Subject: Re: Vivante softfp with Yocto dora ??
Date: Thu, 6 Mar 2014 11:21:00 +0100	[thread overview]
Message-ID: <20140306112100.57aaae35@e6520eb> (raw)
In-Reply-To: <798973342.90538.1394097278795.JavaMail.root@bluechiptechnology.co.uk>

Hi David,

Le Thu, 6 Mar 2014 09:14:38 +0000 (GMT),
David Chirgwin <dchirgwin@bluechiptechnology.co.uk> a écrit :
> 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).
>  
> I have seen this post https://community.freescale.com/message/372390#372390 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)?
>  
> Is there a setting in conf/local.conf, or do I need a new recipe or something else?
>  
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 = base_contains("TUNE_FEATURES",
"callconvention-hard", True, False, d) is_package_hardfp =
d.getVar("PACKAGE_FP_TYPE", True) == "hardfp"

        if is_package_hardfp != is_machine_hardfp:
                PN = d.getVar("PN", True)
                PV = 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


  reply	other threads:[~2014-03-06 10:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-05 21:09 [meta-fsl-arm][PATCH 1/2] image_types_fsl: Use explit task dependency to boost build Otavio Salvador
2014-03-05 21:09 ` [meta-fsl-arm][PATCH 2/2] u-boot-fslc: Update to v2014.01 based release Otavio Salvador
2014-03-06  9:14 ` Vivante softfp with Yocto dora ?? David Chirgwin
2014-03-06 10:21   ` Eric Bénard [this message]
2014-03-06 12:33   ` Otavio Salvador
2014-03-25 12:29     ` David Chirgwin
2014-03-06 12:44 ` [meta-fsl-arm][PATCH 1/2] image_types_fsl: Use explit task dependency to boost build Daiane.Angolini
2014-03-06 12:48   ` Otavio Salvador
2014-04-07 22:11     ` Alexandre Belloni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140306112100.57aaae35@e6520eb \
    --to=eric@eukrea.com \
    --cc=dchirgwin@bluechiptechnology.co.uk \
    --cc=meta-freescale@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.