diff options
author | Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com> | 2016-12-16 15:14:37 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-12-22 08:50:16 +0000 |
commit | 6eb35af19aab8f45493ca8d6c3967b6c761825d2 (patch) | |
tree | 8f89c6891afba7a6fc5e27b42458cd299a0e8c45 | |
parent | 39f83be8bd7af58a125919c9e92d6b450f1193b1 (diff) | |
download | poky-6eb35af19aab8f45493ca8d6c3967b6c761825d2.tar.gz |
arch-mips: Add MIPS 64r6 N32 tune
Add MIPS64R6-n32 tuning options.
(From OE-Core rev: e723dbb9614f7d7e7e158bc9afd0b2bfac0fbee2)
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/insane.bbclass | 2 | ||||
-rw-r--r-- | meta/classes/siteinfo.bbclass | 2 | ||||
-rw-r--r-- | meta/conf/machine/include/tune-mips64r6.inc | 26 |
3 files changed, 30 insertions, 0 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index 1a742cf6f8..f8f6e002f7 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass | |||
@@ -174,6 +174,8 @@ def package_qa_get_machine_dict(d): | |||
174 | "linux-gnun32" : { | 174 | "linux-gnun32" : { |
175 | "mips64": ( 8, 0, 0, False, 32), | 175 | "mips64": ( 8, 0, 0, False, 32), |
176 | "mips64el": ( 8, 0, 0, True, 32), | 176 | "mips64el": ( 8, 0, 0, True, 32), |
177 | "mipsisa64r6": ( 8, 0, 0, False, 32), | ||
178 | "mipsisa64r6el":( 8, 0, 0, True, 32), | ||
177 | }, | 179 | }, |
178 | } | 180 | } |
179 | 181 | ||
diff --git a/meta/classes/siteinfo.bbclass b/meta/classes/siteinfo.bbclass index abb194f0d6..2c33732be3 100644 --- a/meta/classes/siteinfo.bbclass +++ b/meta/classes/siteinfo.bbclass | |||
@@ -89,6 +89,8 @@ def siteinfo_data(d): | |||
89 | "mips64el-linux-musl": "mips64el-linux", | 89 | "mips64el-linux-musl": "mips64el-linux", |
90 | "mips64-linux-gnun32": "mips-linux bit-32", | 90 | "mips64-linux-gnun32": "mips-linux bit-32", |
91 | "mips64el-linux-gnun32": "mipsel-linux bit-32", | 91 | "mips64el-linux-gnun32": "mipsel-linux bit-32", |
92 | "mipsisa64r6-linux-gnun32": "mipsisa32r6-linux bit-32", | ||
93 | "mipsisa64r6el-linux-gnun32": "mipsisa32r6el-linux bit-32", | ||
92 | "powerpc-linux": "powerpc32-linux", | 94 | "powerpc-linux": "powerpc32-linux", |
93 | "powerpc-linux-musl": "powerpc-linux powerpc32-linux", | 95 | "powerpc-linux-musl": "powerpc-linux powerpc32-linux", |
94 | "powerpc-linux-uclibc": "powerpc-linux powerpc32-linux", | 96 | "powerpc-linux-uclibc": "powerpc-linux powerpc32-linux", |
diff --git a/meta/conf/machine/include/tune-mips64r6.inc b/meta/conf/machine/include/tune-mips64r6.inc index f0ad564686..2289fb47e1 100644 --- a/meta/conf/machine/include/tune-mips64r6.inc +++ b/meta/conf/machine/include/tune-mips64r6.inc | |||
@@ -30,3 +30,29 @@ TUNE_FEATURES_tune-mipsisa64r6el-nf = "r6 n64 mipsisa64r6" | |||
30 | MIPSPKGSFX_VARIANT_tune-mipsisa64r6el-nf = "${TUNE_ARCH}" | 30 | MIPSPKGSFX_VARIANT_tune-mipsisa64r6el-nf = "${TUNE_ARCH}" |
31 | BASE_LIB_tune-mipsisa64r6el-nf = "lib64" | 31 | BASE_LIB_tune-mipsisa64r6el-nf = "lib64" |
32 | PACKAGE_EXTRA_ARCHS_tune-mipsisa64r6el-nf = "mipsisa64r6el-nf" | 32 | PACKAGE_EXTRA_ARCHS_tune-mipsisa64r6el-nf = "mipsisa64r6el-nf" |
33 | |||
34 | # MIPS 64r6 n32 | ||
35 | AVAILTUNES += "mipsisa64r6-n32 mipsisa64r6el-n32" | ||
36 | |||
37 | TUNE_FEATURES_tune-mipsisa64r6-n32 = "bigendian fpu-hard r6 n32 mipsisa64r6" | ||
38 | BASE_LIB_tune-mipsisa64r6-n32 = "lib32" | ||
39 | MIPSPKGSFX_VARIANT_tune-mipsisa64r6-n32 = "${TUNE_ARCH}" | ||
40 | PACKAGE_EXTRA_ARCHS_tune-mipsisa64r6-n32 = "mipsisa64r6-n32" | ||
41 | |||
42 | TUNE_FEATURES_tune-mipsisa64r6el-n32 = "fpu-hard r6 n32 mipsisa64r6" | ||
43 | BASE_LIB_tune-mipsisa64r6el-n32 = "lib32" | ||
44 | MIPSPKGSFX_VARIANT_tune-mipsisa64r6el-n32 = "${TUNE_ARCH}" | ||
45 | PACKAGE_EXTRA_ARCHS_tune-mipsisa64r6el-n32 = "mipsisa64r6el-n32" | ||
46 | |||
47 | # MIPS 64r6 n32 and Soft Float | ||
48 | AVAILTUNES += "mipsisa64r6-nf-n32 mipsisa64r6el-nf-n32" | ||
49 | |||
50 | TUNE_FEATURES_tune-mipsisa64r6-nf-n32 = "bigendian r6 n32 mipsisa64r6" | ||
51 | BASE_LIB_tune-mipsisa64r6-nf-n32 = "lib32" | ||
52 | MIPSPKGSFX_VARIANT_tune-mipsisa64r6-nf-n32 = "${TUNE_ARCH}" | ||
53 | PACKAGE_EXTRA_ARCHS_tune-mipsisa64r6-nf-n32 = "mipsisa64r6-nf-n32" | ||
54 | |||
55 | TUNE_FEATURES_tune-mipsisa64r6el-nf-n32 = "bigendian r6 n32 mipsisa64r6" | ||
56 | BASE_LIB_tune-mipsisa64r6el-nf-n32 = "lib32" | ||
57 | MIPSPKGSFX_VARIANT_tune-mipsisa64r6el-nf-n32 = "${TUNE_ARCH}" | ||
58 | PACKAGE_EXTRA_ARCHS_tune-mipsisa64r6el-nf-n32 = "mipsisa64r6el-nf-n32" | ||