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:34:07 +0100 |
commit | 3f16f76868105aae7c82ae33831d3317903b58ac (patch) | |
tree | a99bc0ced33b7836472d572f4ce6d6f15cbaa6f3 /meta/conf | |
parent | 2dff13e834dc7b67e16ee597d7f9a3efdc72d10f (diff) | |
download | openembedded-core-3f16f76868105aae7c82ae33831d3317903b58ac.tar.gz openembedded-core-3f16f76868105aae7c82ae33831d3317903b58ac.tar.bz2 openembedded-core-3f16f76868105aae7c82ae33831d3317903b58ac.zip |
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)
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')
-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" TUNEVALID[octeon2] = "Enable optimization related to octeon2 support" TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "octeon2", " -march=octeon2 ", "",d)}" + TUNE_FEATURES_tune-octeon2 = "${TUNE_FEATURES_tune-mips64-n32} octeon2" -MIPSPKGSFX_VARIANT_tune-octeon2 = "${TUNE_ARCH}" -PACKAGE_EXTRA_ARCHS_tune-octeon2 = "mips64-n32 octeon2 octeon2_64-n32" +MIPSPKGSFX_VARIANT_tune-octeon2 = "octeon2" +PACKAGE_EXTRA_ARCHS_tune-octeon2 = "mips64-n32 octeon2-n32" TUNE_FEATURES_tune-octeon2_64 = "${TUNE_FEATURES_tune-mips64} octeon2" -MIPSPKGSFX_VARIANT_tune-octeon2_64 = "${TUNE_ARCH}" +MIPSPKGSFX_VARIANT_tune-octeon2_64 = "octeon2_64" PACKAGE_EXTRA_ARCHS_tune-octeon2_64 = "mips64 octeon2_64" @@ -19,9 +20,9 @@ TUNEVALID[octeon3] = "Enable optimization related to octeon3 support" TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "octeon3", " -march=octeon3 ", "",d)}" TUNE_FEATURES_tune-octeon3 = "${TUNE_FEATURES_tune-mips64-n32} octeon3" -MIPSPKGSFX_VARIANT_tune-octeon3 = "${TUNE_ARCH}" -PACKAGE_EXTRA_ARCHS_tune-octeon3 = "mips64-n32 octeon3 octeon3_64-n32" +MIPSPKGSFX_VARIANT_tune-octeon3 = "octeon3" +PACKAGE_EXTRA_ARCHS_tune-octeon3 = "mips64-n32 octeon3-n32" TUNE_FEATURES_tune-octeon3_64 = "${TUNE_FEATURES_tune-mips64} octeon3" -MIPSPKGSFX_VARIANT_tune-octeon3_64 = "${TUNE_ARCH}" +MIPSPKGSFX_VARIANT_tune-octeon3_64 = "octeon3_64" PACKAGE_EXTRA_ARCHS_tune-octeon3_64 = "mips64 octeon3_64" |