Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Koen Kooi <k.kooi@student.utwente.nl>
To: openembedded-devel@lists.openembedded.org
Subject: Re: Qt and detecting iWMMXT
Date: Sat, 25 Sep 2010 00:11:50 +0200	[thread overview]
Message-ID: <i7j7n6$u68$1@dough.gmane.org> (raw)
In-Reply-To: <4C9D1136.2070507@freyther.de>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 24-09-10 22:59, Holger Freyther wrote:
> Hi all,
> 
> when building for XScale one could pass -iwmmxt to the configure script. Now
> how can a recipe find out if XScale systems are targeted? The closest thing I
> can think of is to look at PACKAGE_ARCH and see if xscale is in it.

Adapted from the mplayer magic Graeme and I came up with some years ago:

#build with support for the iwmmxt instruction (pxa270 and up)
MY_ARCH := "${PACKAGE_ARCH}"
PACKAGE_ARCH = "${@base_contains('MACHINE_FEATURES', 'iwmmxt', 'iwmmxt',
'${MY_ARCH}',d)}"

QT_CONFIG_FLAGS_append = " ${@base_contains('MACHINE_FEATURES',
'iwmmxt', ' -iwmmxt', '',d)} "

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFMnSIlMkyGM64RGpERAumBAKCU8rfNBZ7GTmSgJwgKZ25iWom2xwCgt6hF
T3hkQK3OSWktYh6IYsUghmE=
=odW5
-----END PGP SIGNATURE-----




  parent reply	other threads:[~2010-09-24 22:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-24 20:59 Qt and detecting iWMMXT Holger Freyther
2010-09-24 21:06 ` Frans Meulenbroeks
2010-09-24 21:28   ` Holger Freyther
2010-09-24 22:11 ` Koen Kooi [this message]
2010-09-25  7:09   ` Frans Meulenbroeks
2010-09-25  8:18     ` Frans Meulenbroeks
2010-09-25  8:29       ` Eric Bénard
2010-09-25 14:21 ` Enrico Scholz

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='i7j7n6$u68$1@dough.gmane.org' \
    --to=k.kooi@student.utwente.nl \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox