All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-xilinx] tune-ppc440.inc: Add support for PowerPC 440 processor for Xilinx Virtex-5 FXT FPGA.
@ 2012-05-30 18:55 Elvis Dowson
  2012-05-30 19:24 ` Khem Raj
  0 siblings, 1 reply; 4+ messages in thread
From: Elvis Dowson @ 2012-05-30 18:55 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Elvis Dowson

This commit adds support for the PowerPC 440 processor for the Xilinx
Virtex-5 FXT FPGA.

Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com>
---
 meta/conf/machine/include/tune-ppc440.inc |   14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 meta/conf/machine/include/tune-ppc440.inc

diff --git a/meta/conf/machine/include/tune-ppc440.inc b/meta/conf/machine/include/tune-ppc440.inc
new file mode 100644
index 0000000..394364d
--- /dev/null
+++ b/meta/conf/machine/include/tune-ppc440.inc
@@ -0,0 +1,14 @@
+DEFAULTTUNE ?= "ppc440"
+
+require conf/machine/include/powerpc/arch-powerpc.inc
+
+TUNEVALID[ppc440] = "Enable ppc440 specific processor optimizations"
+TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppc440", "-mcpu=440", "", d)}"
+
+AVAILTUNES += "ppc440"
+TUNE_FEATURES_tune-ppc440 = "m32 fpu-soft ppc440"
+TUNE_PKGARCH_tune-ppc440 = "ppc440"
+PACKAGE_EXTRA_ARCHS_tune-ppc440 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc-nf} ppc440"
+
+# glibc configure options to get 440 specific library (for sqrt)
+GLIBC_EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "ppc440", "-with-cpu=440", "", d)}"
-- 
1.7.9.5




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

end of thread, other threads:[~2012-05-31  6:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-30 18:55 [meta-xilinx] tune-ppc440.inc: Add support for PowerPC 440 processor for Xilinx Virtex-5 FXT FPGA Elvis Dowson
2012-05-30 19:24 ` Khem Raj
2012-05-30 19:38   ` Adrian Alonso
2012-05-31  6:12     ` Elvis Dowson

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.