summaryrefslogtreecommitdiff
path: root/meta/conf/machine/include/tune-octeon.inc
blob: fdd48b5a2c15b3199eaf503ff43dd4776055d83a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
DEFAULTTUNE ?="octeon2"

require conf/machine/include/tune-mips64.inc

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 = "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 = "octeon2_64"
PACKAGE_EXTRA_ARCHS_tune-octeon2_64 = "mips64 octeon2_64"


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 = "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 = "octeon3_64"
PACKAGE_EXTRA_ARCHS_tune-octeon3_64 = "mips64 octeon3_64"