summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/conf/machine/include/tune-octeon.inc27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/conf/machine/include/tune-octeon.inc b/meta/conf/machine/include/tune-octeon.inc
new file mode 100644
index 0000000000..f80f97067f
--- /dev/null
+++ b/meta/conf/machine/include/tune-octeon.inc
@@ -0,0 +1,27 @@
1DEFAULTTUNE ?="octeon2"
2
3require conf/machine/include/tune-mips64.inc
4
5AVAILTUNES += "octeon2 octeon2_64 octeon3 octeon3_64"
6
7TUNEVALID[octeon2] = "Enable optimization related to octeon2 support"
8TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "octeon2", " -march=octeon2 ", "",d)}"
9TUNE_FEATURES_tune-octeon2 = "${TUNE_FEATURES_tune-mips64-n32} octeon2"
10MIPSPKGSFX_VARIANT_tune-octeon2 = "${TUNE_ARCH}"
11PACKAGE_EXTRA_ARCHS_tune-octeon2 = "mips64-n32 octeon2 octeon2_64-n32"
12
13TUNE_FEATURES_tune-octeon2_64 = "${TUNE_FEATURES_tune-mips64} octeon2"
14MIPSPKGSFX_VARIANT_tune-octeon2_64 = "${TUNE_ARCH}"
15PACKAGE_EXTRA_ARCHS_tune-octeon2_64 = "mips64 octeon2_64"
16
17
18TUNEVALID[octeon3] = "Enable optimization related to octeon3 support"
19TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "octeon3", " -march=octeon3 ", "",d)}"
20
21TUNE_FEATURES_tune-octeon3 = "${TUNE_FEATURES_tune-mips64-n32} octeon3"
22MIPSPKGSFX_VARIANT_tune-octeon3 = "${TUNE_ARCH}"
23PACKAGE_EXTRA_ARCHS_tune-octeon3 = "mips64-n32 octeon3 octeon3_64-n32"
24
25TUNE_FEATURES_tune-octeon3_64 = "${TUNE_FEATURES_tune-mips64} octeon3"
26MIPSPKGSFX_VARIANT_tune-octeon3_64 = "${TUNE_ARCH}"
27PACKAGE_EXTRA_ARCHS_tune-octeon3_64 = "mips64 octeon3_64"