From patchwork Wed Aug 22 19:20:20 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [meta-xilinx,3/7] tune-ppc405e: Add tune-ppc405e file. Date: Wed, 22 Aug 2012 19:20:20 -0000 From: Elvis Dowson X-Patchwork-Id: 35171 Message-Id: <1345663224-42350-3-git-send-email-elvis.dowson@gmail.com> To: openembedded-devel@lists.openembedded.org Cc: Elvis Dowson * Tune option for ppc405e with hard-float. Signed-off-by: Elvis Dowson --- 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)}"