summaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-06-06 14:37:19 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-06-12 23:34:24 +0100
commit52a71a394ed92361a269696d7a410ef94c1d5d0e (patch)
tree92de7b62ba7d99052f880bc85d7174fedd30a869 /meta/conf
parent33b8fa0db75ef1fcce420caf5392b42eae8ee4e4 (diff)
downloadpoky-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')
-rw-r--r--meta/conf/machine/include/mips/tune-mips-74k.inc37
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 @@
1DEFAULTTUNE ?= "mips32r2-74kc"
2
3MIPSPKGSFX_MIPS16E ??= ""
4
5require conf/machine/include/tune-mips32r2.inc
6require conf/machine/include/mips/feature-mips-mips16e.inc
7
8
9TUNEVALID[74kc] = "Enable MIPS 74K with DSPr2 processor optimizations"
10TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "74kc", " -mtune=74kc", "", d)}"
11
12AVAILTUNES += "mips32r2-74kc mips32r2-74kc-m16"
13AVAILTUNES += "mips32r2el-74kc mips32r2el-74kc-m16"
14
15# big endian: kc+dsp2=kc, kc+dsp2+mips16e=kc-m16
16TUNE_FEATURES_tune-mips32r2-74kc = "${TUNE_FEATURES_tune-mips32r2-nf} 74kc"
17TUNE_FEATURES_tune-mips32r2-74kc-m16 = "${TUNE_FEATURES_tune-mips32r2-74kc} mips16e"
18
19MIPSPKGSFX_VARIANT_tune-mips32r2-74kc = "mips32r2-74kc"
20PACKAGE_EXTRA_ARCHS_tune-mips32r2-74kc = "${PACKAGE_EXTRA_ARCHS_tune-mips32r2-nf} mips32r2-74kc-nf"
21QEMU_EXTRAOPTIONS_mips32r2-74kc-nf = " -cpu 24Kc"
22
23MIPSPKGSFX_VARIANT_tune-mips32r2-74kc-m16 = "mips32r2-74kc${MIPSPKGSFX_MIPS16E}"
24PACKAGE_EXTRA_ARCHS_tune-mips32r2-74kc-m16 = "${PACKAGE_EXTRA_ARCHS_tune-mips32r2-74kc} mips32r2-74kc-m16-nf"
25QEMU_EXTRAOPTIONS_mips32r2-74kc-m16-nf = " -cpu 24KEc"
26
27# little endian: kc+dsp2=kc, kc+dsp2+mips16e=kc-m16
28TUNE_FEATURES_tune-mips32r2el-74kc = "${TUNE_FEATURES_tune-mips32r2el-nf} 74kc"
29TUNE_FEATURES_tune-mips32r2el-74kc-m16 = "${TUNE_FEATURES_tune-mips32r2el-74kc} mips16e"
30
31MIPSPKGSFX_VARIANT_tune-mips32r2el-74kc = "mips32r2el-74kc"
32PACKAGE_EXTRA_ARCHS_tune-mips32r2el-74kc = "${PACKAGE_EXTRA_ARCHS_tune-mips32r2el-nf} mips32r2el-74kc-nf"
33QEMU_EXTRAOPTIONS_mips32r2el-74kc-nf = " -cpu 24Kc"
34
35MIPSPKGSFX_VARIANT_tune-mips32r2el-74kc-m16 = "mips32r2el-74kc${MIPSPKGSFX_MIPS16E}"
36PACKAGE_EXTRA_ARCHS_tune-mips32r2el-74kc-m16 = "${PACKAGE_EXTRA_ARCHS_tune-mips32r2el-74kc} mips32r2el-74kc-m16-nf"
37QEMU_EXTRAOPTIONS_mips32r2el-74kc-m16-nf = " -cpu 24KEc"