From: Elvis Dowson <elvis.dowson@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: Elvis Dowson <elvis.dowson@gmail.com>
Subject: [meta-xilinx 3/7] tune-ppc405e: Add tune-ppc405e file.
Date: Wed, 22 Aug 2012 23:20:20 +0400 [thread overview]
Message-ID: <1345663224-42350-3-git-send-email-elvis.dowson@gmail.com> (raw)
In-Reply-To: <1345663224-42350-1-git-send-email-elvis.dowson@gmail.com>
* Tune option for ppc405e with hard-float.
Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com>
---
conf/machine/include/tune-ppc405e.inc | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 conf/machine/include/tune-ppc405e.inc
diff --git a/conf/machine/include/tune-ppc405e.inc b/conf/machine/include/tune-ppc405e.inc
new file mode 100644
index 0000000..63e5e9c
--- /dev/null
+++ b/conf/machine/include/tune-ppc405e.inc
@@ -0,0 +1,14 @@
+DEFAULTTUNE ?= "ppc405e"
+
+require conf/machine/include/powerpc/arch-powerpc.inc
+
+TUNEVALID[ppc405e] = "Enable ppc405e specific processor optimizations"
+TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppc405e", "-mcpu=405fp", "", d)}"
+
+AVAILTUNES += "ppc405e"
+TUNE_FEATURES_tune-ppc405e = "m32 ppc405e fpu-hard"
+TUNE_PKGARCH_tune-ppc440e = "ppc405e"
+PACKAGE_EXTRA_ARCHS_tune-ppc405e = "${PACKAGE_EXTRA_ARCHS_tune-powerpc} ppc405e"
+
+# glibc configure options to get ppc405e specific library (for sqrt)
+GLIBC_EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "ppc405e", "-with-cpu=405fp", "", d)}"
--
1.7.9.5
next prev parent reply other threads:[~2012-08-22 19:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-22 19:20 [meta-xilinx 1/7] tune-ppc440: Reorder tune features Elvis Dowson
2012-08-22 19:20 ` [meta-xilinx 2/7] tune-ppc405: Add glibc configure options Elvis Dowson
2012-08-22 19:20 ` Elvis Dowson [this message]
2012-08-22 19:20 ` [meta-xilinx 4/7] tune-ppc440e: Add tune-ppc440e file Elvis Dowson
2012-08-22 19:20 ` [meta-xilinx 5/7] xilinx-boot.bbclass: Add support for selecting the xilinx hardware bitstream file Elvis Dowson
2012-08-22 19:20 ` [meta-xilinx 6/7] conf: Add bblayers.conf sample configuration file Elvis Dowson
2012-08-22 19:20 ` [meta-xilinx 7/7] conf: Add local.conf " Elvis Dowson
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=1345663224-42350-3-git-send-email-elvis.dowson@gmail.com \
--to=elvis.dowson@gmail.com \
--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