diff options
author | Andrea Adami <andrea.adami@gmail.com> | 2014-05-14 23:00:22 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-05-15 23:24:44 +0100 |
commit | 85f51bb754d154ba1f2d3a3903b67d4994efe52f (patch) | |
tree | 9b7683254a3348d85fd76daca9181b8c8b4ae7b4 /meta | |
parent | 2134fe829798678f2385ee105f08518626785e76 (diff) | |
download | poky-85f51bb754d154ba1f2d3a3903b67d4994efe52f.tar.gz |
mips: add tune file for mips32r2 (only hard-float)
Kernel and initramfs built and tested on GCW Zero (jz4770)
(From OE-Core rev: 149885560e2fbc91c7f60226d015ba9842373e26)
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/conf/machine/include/tune-mips32r2.inc | 17 |
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 @@ | |||
1 | DEFAULTTUNE ?= "mips32r2" | ||
2 | |||
3 | require conf/machine/include/mips/arch-mips.inc | ||
4 | |||
5 | TUNEVALID[mips32r2] = "Enable mips32r2 specific processor optimizations" | ||
6 | TUNECONFLICTS[mips32r2] = "n64 n32" | ||
7 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "mips32r2", " -march=mips32r2", "", d)}" | ||
8 | |||
9 | AVAILTUNES += "mips32r2 mips32r2el" | ||
10 | |||
11 | TUNE_FEATURES_tune-mips32r2 = "${TUNE_FEATURES_tune-mips} mips32r2" | ||
12 | MIPSPKGSFX_VARIANT_tune-mips32r2 = "mips32r2" | ||
13 | PACKAGE_EXTRA_ARCHS_tune-mips32r2 = "mips mips32 mips32r2" | ||
14 | |||
15 | TUNE_FEATURES_tune-mips32r2el = "${TUNE_FEATURES_tune-mipsel} mips32r2" | ||
16 | MIPSPKGSFX_VARIANT_tune-mips32r2el = "mips32r2el" | ||
17 | PACKAGE_EXTRA_ARCHS_tune-mips32r2el = "mipsel mips32el mips32r2el" | ||