diff options
author | Armin Kuster <akuster@mvista.com> | 2015-08-16 14:49:42 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-19 18:05:40 +0100 |
commit | b961402298d2278604ab18783046cf9802f56dcc (patch) | |
tree | 78a5104c61466c8ce6f1f1cab06034ca3e5cb165 /meta/conf/machine | |
parent | 86559e13452268425162a5f1552fa92b5c9174a0 (diff) | |
download | poky-b961402298d2278604ab18783046cf9802f56dcc.tar.gz |
tune-octeon: add tune file for MIPS Octeon
This add MIPS Octeon tune features.
(From OE-Core rev: 151ee1ace5bc5237d361ffb5c8a152b7d56ff0b9)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine')
-rw-r--r-- | meta/conf/machine/include/tune-octeon.inc | 27 |
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 @@ | |||
1 | DEFAULTTUNE ?="octeon2" | ||
2 | |||
3 | require conf/machine/include/tune-mips64.inc | ||
4 | |||
5 | AVAILTUNES += "octeon2 octeon2_64 octeon3 octeon3_64" | ||
6 | |||
7 | TUNEVALID[octeon2] = "Enable optimization related to octeon2 support" | ||
8 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "octeon2", " -march=octeon2 ", "",d)}" | ||
9 | TUNE_FEATURES_tune-octeon2 = "${TUNE_FEATURES_tune-mips64-n32} octeon2" | ||
10 | MIPSPKGSFX_VARIANT_tune-octeon2 = "${TUNE_ARCH}" | ||
11 | PACKAGE_EXTRA_ARCHS_tune-octeon2 = "mips64-n32 octeon2 octeon2_64-n32" | ||
12 | |||
13 | TUNE_FEATURES_tune-octeon2_64 = "${TUNE_FEATURES_tune-mips64} octeon2" | ||
14 | MIPSPKGSFX_VARIANT_tune-octeon2_64 = "${TUNE_ARCH}" | ||
15 | PACKAGE_EXTRA_ARCHS_tune-octeon2_64 = "mips64 octeon2_64" | ||
16 | |||
17 | |||
18 | TUNEVALID[octeon3] = "Enable optimization related to octeon3 support" | ||
19 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "octeon3", " -march=octeon3 ", "",d)}" | ||
20 | |||
21 | TUNE_FEATURES_tune-octeon3 = "${TUNE_FEATURES_tune-mips64-n32} octeon3" | ||
22 | MIPSPKGSFX_VARIANT_tune-octeon3 = "${TUNE_ARCH}" | ||
23 | PACKAGE_EXTRA_ARCHS_tune-octeon3 = "mips64-n32 octeon3 octeon3_64-n32" | ||
24 | |||
25 | TUNE_FEATURES_tune-octeon3_64 = "${TUNE_FEATURES_tune-mips64} octeon3" | ||
26 | MIPSPKGSFX_VARIANT_tune-octeon3_64 = "${TUNE_ARCH}" | ||
27 | PACKAGE_EXTRA_ARCHS_tune-octeon3_64 = "mips64 octeon3_64" | ||