diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2015-08-20 18:56:03 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-30 12:35:48 +0100 |
commit | 7635c1ffb81593d7401ee64b94b09e646a154800 (patch) | |
tree | f97a733a17920ddc2cce343f58143d42d51f7a4e /meta/conf/machine/include/tune-octeon.inc | |
parent | b5b3085d9d6a351a1de86f95d5c8ba28dbfbddbb (diff) | |
download | poky-7635c1ffb81593d7401ee64b94b09e646a154800.tar.gz |
tune-octeon.inc: correct packaging suffix
Octeon II/III binaries can contain instructions that are not compatible
with MIPS64 processors. Thus Octeon II/III packages should go to
separate directories. Set MIPSPKGSFX_VARIANT_tune-* to Octeon-specific
values and update PACKAGE_EXTRA_ARCHS_tune-* accordingly.
(From OE-Core rev: 69798449a8c1049728674dd352cf828063974cd0)
(From OE-Core rev: 3f16f76868105aae7c82ae33831d3317903b58ac)
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.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/include/tune-octeon.inc')
-rw-r--r-- | meta/conf/machine/include/tune-octeon.inc | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/meta/conf/machine/include/tune-octeon.inc b/meta/conf/machine/include/tune-octeon.inc index f80f97067f..fdd48b5a2c 100644 --- a/meta/conf/machine/include/tune-octeon.inc +++ b/meta/conf/machine/include/tune-octeon.inc | |||
@@ -6,12 +6,13 @@ AVAILTUNES += "octeon2 octeon2_64 octeon3 octeon3_64" | |||
6 | 6 | ||
7 | TUNEVALID[octeon2] = "Enable optimization related to octeon2 support" | 7 | TUNEVALID[octeon2] = "Enable optimization related to octeon2 support" |
8 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "octeon2", " -march=octeon2 ", "",d)}" | 8 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "octeon2", " -march=octeon2 ", "",d)}" |
9 | |||
9 | TUNE_FEATURES_tune-octeon2 = "${TUNE_FEATURES_tune-mips64-n32} octeon2" | 10 | TUNE_FEATURES_tune-octeon2 = "${TUNE_FEATURES_tune-mips64-n32} octeon2" |
10 | MIPSPKGSFX_VARIANT_tune-octeon2 = "${TUNE_ARCH}" | 11 | MIPSPKGSFX_VARIANT_tune-octeon2 = "octeon2" |
11 | PACKAGE_EXTRA_ARCHS_tune-octeon2 = "mips64-n32 octeon2 octeon2_64-n32" | 12 | PACKAGE_EXTRA_ARCHS_tune-octeon2 = "mips64-n32 octeon2-n32" |
12 | 13 | ||
13 | TUNE_FEATURES_tune-octeon2_64 = "${TUNE_FEATURES_tune-mips64} octeon2" | 14 | TUNE_FEATURES_tune-octeon2_64 = "${TUNE_FEATURES_tune-mips64} octeon2" |
14 | MIPSPKGSFX_VARIANT_tune-octeon2_64 = "${TUNE_ARCH}" | 15 | MIPSPKGSFX_VARIANT_tune-octeon2_64 = "octeon2_64" |
15 | PACKAGE_EXTRA_ARCHS_tune-octeon2_64 = "mips64 octeon2_64" | 16 | PACKAGE_EXTRA_ARCHS_tune-octeon2_64 = "mips64 octeon2_64" |
16 | 17 | ||
17 | 18 | ||
@@ -19,9 +20,9 @@ TUNEVALID[octeon3] = "Enable optimization related to octeon3 support" | |||
19 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "octeon3", " -march=octeon3 ", "",d)}" | 20 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "octeon3", " -march=octeon3 ", "",d)}" |
20 | 21 | ||
21 | TUNE_FEATURES_tune-octeon3 = "${TUNE_FEATURES_tune-mips64-n32} octeon3" | 22 | TUNE_FEATURES_tune-octeon3 = "${TUNE_FEATURES_tune-mips64-n32} octeon3" |
22 | MIPSPKGSFX_VARIANT_tune-octeon3 = "${TUNE_ARCH}" | 23 | MIPSPKGSFX_VARIANT_tune-octeon3 = "octeon3" |
23 | PACKAGE_EXTRA_ARCHS_tune-octeon3 = "mips64-n32 octeon3 octeon3_64-n32" | 24 | PACKAGE_EXTRA_ARCHS_tune-octeon3 = "mips64-n32 octeon3-n32" |
24 | 25 | ||
25 | TUNE_FEATURES_tune-octeon3_64 = "${TUNE_FEATURES_tune-mips64} octeon3" | 26 | TUNE_FEATURES_tune-octeon3_64 = "${TUNE_FEATURES_tune-mips64} octeon3" |
26 | MIPSPKGSFX_VARIANT_tune-octeon3_64 = "${TUNE_ARCH}" | 27 | MIPSPKGSFX_VARIANT_tune-octeon3_64 = "octeon3_64" |
27 | PACKAGE_EXTRA_ARCHS_tune-octeon3_64 = "mips64 octeon3_64" | 28 | PACKAGE_EXTRA_ARCHS_tune-octeon3_64 = "mips64 octeon3_64" |