summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/conf/machine/include/tune-mips32r2.inc17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/conf/machine/include/tune-mips32r2.inc b/meta/conf/machine/include/tune-mips32r2.inc
new file mode 100644
index 0000000000..fb60592a8b
--- /dev/null
+++ b/meta/conf/machine/include/tune-mips32r2.inc
@@ -0,0 +1,17 @@
1DEFAULTTUNE ?= "mips32r2"
2
3require conf/machine/include/mips/arch-mips.inc
4
5TUNEVALID[mips32r2] = "Enable mips32r2 specific processor optimizations"
6TUNECONFLICTS[mips32r2] = "n64 n32"
7TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "mips32r2", " -march=mips32r2", "", d)}"
8
9AVAILTUNES += "mips32r2 mips32r2el"
10
11TUNE_FEATURES_tune-mips32r2 = "${TUNE_FEATURES_tune-mips} mips32r2"
12MIPSPKGSFX_VARIANT_tune-mips32r2 = "mips32r2"
13PACKAGE_EXTRA_ARCHS_tune-mips32r2 = "mips mips32 mips32r2"
14
15TUNE_FEATURES_tune-mips32r2el = "${TUNE_FEATURES_tune-mipsel} mips32r2"
16MIPSPKGSFX_VARIANT_tune-mips32r2el = "mips32r2el"
17PACKAGE_EXTRA_ARCHS_tune-mips32r2el = "mipsel mips32el mips32r2el"