From: Joaquim Duran <joaquinduran@adtelecom.es>
To: openembedded-devel@lists.openembedded.org
Subject: RFC: unify functions to check if arch has FPU or not
Date: Fri, 11 Jan 2008 09:30:14 +0100 [thread overview]
Message-ID: <47872916.7020802@adtelecom.es> (raw)
Hello,
There are several packages that at .bb file is checked if the
architecture includes or not a FPU to configure compilation parameters,
like gtk+, cairo, alsa.
The idea is create a function similar to the existing ones with to added
parameters: one should be returned when there is FPU in the architecture
and the other when there is no FPU.
Example:
def get_fpu_setting(bb, d, fpu, nofpu):
if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]:
return nofpu
return fpu
get_fpu_setting(bb, d, "--enable-fpu", "--disable-fpu")
Thanks
Joaquim Duran
reply other threads:[~2008-01-11 8:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=47872916.7020802@adtelecom.es \
--to=joaquinduran@adtelecom.es \
--cc=openembedded-devel@lists.openembedded.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.