diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-06-06 14:37:19 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-06-12 23:34:24 +0100 |
commit | 52a71a394ed92361a269696d7a410ef94c1d5d0e (patch) | |
tree | 92de7b62ba7d99052f880bc85d7174fedd30a869 /meta/conf/machine | |
parent | 33b8fa0db75ef1fcce420caf5392b42eae8ee4e4 (diff) | |
download | poky-52a71a394ed92361a269696d7a410ef94c1d5d0e.tar.gz |
tune-mips-74k.inc: add tune file for 74kc mips
(From OE-Core rev: ee054e12f6d4c4cbda66ebbc7d09ecad964a84d1)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine')
-rw-r--r-- | meta/conf/machine/include/mips/tune-mips-74k.inc | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/conf/machine/include/mips/tune-mips-74k.inc b/meta/conf/machine/include/mips/tune-mips-74k.inc new file mode 100644 index 0000000000..94afee34bd --- /dev/null +++ b/meta/conf/machine/include/mips/tune-mips-74k.inc | |||
@@ -0,0 +1,37 @@ | |||
1 | DEFAULTTUNE ?= "mips32r2-74kc" | ||
2 | |||
3 | MIPSPKGSFX_MIPS16E ??= "" | ||
4 | |||
5 | require conf/machine/include/tune-mips32r2.inc | ||
6 | require conf/machine/include/mips/feature-mips-mips16e.inc | ||
7 | |||
8 | |||
9 | TUNEVALID[74kc] = "Enable MIPS 74K with DSPr2 processor optimizations" | ||
10 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "74kc", " -mtune=74kc", "", d)}" | ||
11 | |||
12 | AVAILTUNES += "mips32r2-74kc mips32r2-74kc-m16" | ||
13 | AVAILTUNES += "mips32r2el-74kc mips32r2el-74kc-m16" | ||
14 | |||
15 | # big endian: kc+dsp2=kc, kc+dsp2+mips16e=kc-m16 | ||
16 | TUNE_FEATURES_tune-mips32r2-74kc = "${TUNE_FEATURES_tune-mips32r2-nf} 74kc" | ||
17 | TUNE_FEATURES_tune-mips32r2-74kc-m16 = "${TUNE_FEATURES_tune-mips32r2-74kc} mips16e" | ||
18 | |||
19 | MIPSPKGSFX_VARIANT_tune-mips32r2-74kc = "mips32r2-74kc" | ||
20 | PACKAGE_EXTRA_ARCHS_tune-mips32r2-74kc = "${PACKAGE_EXTRA_ARCHS_tune-mips32r2-nf} mips32r2-74kc-nf" | ||
21 | QEMU_EXTRAOPTIONS_mips32r2-74kc-nf = " -cpu 24Kc" | ||
22 | |||
23 | MIPSPKGSFX_VARIANT_tune-mips32r2-74kc-m16 = "mips32r2-74kc${MIPSPKGSFX_MIPS16E}" | ||
24 | PACKAGE_EXTRA_ARCHS_tune-mips32r2-74kc-m16 = "${PACKAGE_EXTRA_ARCHS_tune-mips32r2-74kc} mips32r2-74kc-m16-nf" | ||
25 | QEMU_EXTRAOPTIONS_mips32r2-74kc-m16-nf = " -cpu 24KEc" | ||
26 | |||
27 | # little endian: kc+dsp2=kc, kc+dsp2+mips16e=kc-m16 | ||
28 | TUNE_FEATURES_tune-mips32r2el-74kc = "${TUNE_FEATURES_tune-mips32r2el-nf} 74kc" | ||
29 | TUNE_FEATURES_tune-mips32r2el-74kc-m16 = "${TUNE_FEATURES_tune-mips32r2el-74kc} mips16e" | ||
30 | |||
31 | MIPSPKGSFX_VARIANT_tune-mips32r2el-74kc = "mips32r2el-74kc" | ||
32 | PACKAGE_EXTRA_ARCHS_tune-mips32r2el-74kc = "${PACKAGE_EXTRA_ARCHS_tune-mips32r2el-nf} mips32r2el-74kc-nf" | ||
33 | QEMU_EXTRAOPTIONS_mips32r2el-74kc-nf = " -cpu 24Kc" | ||
34 | |||
35 | MIPSPKGSFX_VARIANT_tune-mips32r2el-74kc-m16 = "mips32r2el-74kc${MIPSPKGSFX_MIPS16E}" | ||
36 | PACKAGE_EXTRA_ARCHS_tune-mips32r2el-74kc-m16 = "${PACKAGE_EXTRA_ARCHS_tune-mips32r2el-74kc} mips32r2el-74kc-m16-nf" | ||
37 | QEMU_EXTRAOPTIONS_mips32r2el-74kc-m16-nf = " -cpu 24KEc" | ||