[oe-commits] Andrea Adami : mips: add tune file for mips32r2 (only hard-float)

git at git.openembedded.org git at git.openembedded.org
Thu May 22 15:46:11 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: 149885560e2fbc91c7f60226d015ba9842373e26
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=149885560e2fbc91c7f60226d015ba9842373e26

Author: Andrea Adami <andrea.adami at gmail.com>
Date:   Wed May 14 23:00:22 2014 +0200

mips: add tune file for mips32r2 (only hard-float)

Kernel and initramfs built and tested on GCW Zero (jz4770)

Signed-off-by: Andrea Adami <andrea.adami at gmail.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 meta/conf/machine/include/tune-mips32r2.inc | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/meta/conf/machine/include/tune-mips32r2.inc b/meta/conf/machine/include/tune-mips32r2.inc
new file mode 100644
index 0000000..fb60592
--- /dev/null
+++ b/meta/conf/machine/include/tune-mips32r2.inc
@@ -0,0 +1,17 @@
+DEFAULTTUNE ?= "mips32r2"
+
+require conf/machine/include/mips/arch-mips.inc
+
+TUNEVALID[mips32r2] = "Enable mips32r2 specific processor optimizations"
+TUNECONFLICTS[mips32r2] = "n64 n32"
+TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "mips32r2", " -march=mips32r2", "", d)}"
+
+AVAILTUNES += "mips32r2 mips32r2el"
+
+TUNE_FEATURES_tune-mips32r2 = "${TUNE_FEATURES_tune-mips} mips32r2"
+MIPSPKGSFX_VARIANT_tune-mips32r2 = "mips32r2"
+PACKAGE_EXTRA_ARCHS_tune-mips32r2 = "mips mips32 mips32r2"
+
+TUNE_FEATURES_tune-mips32r2el = "${TUNE_FEATURES_tune-mipsel} mips32r2"
+MIPSPKGSFX_VARIANT_tune-mips32r2el = "mips32r2el"
+PACKAGE_EXTRA_ARCHS_tune-mips32r2el = "mipsel mips32el mips32r2el"



More information about the Openembedded-commits mailing list