Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] tune-ppce5500: Add a tune file for PowerPC e5500 core
@ 2011-08-05 20:11 Kumar Gala
  2011-08-05 21:17 ` Khem Raj
  2011-08-08 14:39 ` Kumar Gala
  0 siblings, 2 replies; 6+ messages in thread
From: Kumar Gala @ 2011-08-05 20:11 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
 meta/conf/machine/include/tune-ppce5500.inc |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
 create mode 100644 meta/conf/machine/include/tune-ppce5500.inc

diff --git a/meta/conf/machine/include/tune-ppce5500.inc b/meta/conf/machine/include/tune-ppce5500.inc
new file mode 100644
index 0000000..8e6403d
--- /dev/null
+++ b/meta/conf/machine/include/tune-ppce5500.inc
@@ -0,0 +1,14 @@
+DEFAULTTUNE ?= "ppce5500"
+
+require conf/machine/include/powerpc/arch-powerpc64.inc
+
+TUNEVALID[ppce5500] = "Enable ppce5500 specific processor optimizations"
+TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppce5500", "-mcpu=e5500", "", d)}"
+TUNE_PKGARCH = "${@bb.utils.contains("TUNE_FEATURES", "ppce5500", "ppce5500", "${PPCPKGARCH}", d)}"
+
+AVAILTUNES += "ppce5500"
+TUNE_FEATURES_tune-ppce5500 = "m64 ppce5500"
+PACKAGE_EXTRA_ARCHS_tune-ppce5500 = "powerpc64 ppce5500"
+
+# glibc configure options to get e5500 specific library (for sqrt)
+GLIBC_EXTRA_OECONF += "--with-cpu=e5500"
-- 
1.7.3.4




^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-08-08 15:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-05 20:11 [PATCH] tune-ppce5500: Add a tune file for PowerPC e5500 core Kumar Gala
2011-08-05 21:17 ` Khem Raj
2011-08-06 20:49   ` Kumar Gala
2011-08-08 14:39 ` Kumar Gala
2011-08-08 14:48   ` Richard Purdie
2011-08-08 15:53     ` Kumar Gala

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox