blob: 455c6a2f334edc94f7b0fb07235bafc6ddf8156a [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001DEFAULTTUNE ?="octeon2"
2
3require conf/machine/include/tune-mips64.inc
4
5AVAILTUNES += "octeon2 octeon2_64 octeon3 octeon3_64"
6
7TUNEVALID[octeon2] = "Enable optimization related to octeon2 support"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05008TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'octeon2', ' -march=octeon2 ', '',d)}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05009
Patrick Williams213cb262021-08-07 19:21:33 -050010TUNE_FEATURES:tune-octeon2 = "${TUNE_FEATURES:tune-mips64-n32} octeon2"
11BASE_LIB:tune-octeon2 = "lib32"
12MIPSPKGSFX_VARIANT:tune-octeon2 = "octeon2"
13PACKAGE_EXTRA_ARCHS:tune-octeon2 = "mips64-n32 octeon2-n32"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050014
Patrick Williams213cb262021-08-07 19:21:33 -050015TUNE_FEATURES:tune-octeon2_64 = "${TUNE_FEATURES:tune-mips64} octeon2"
16BASE_LIB:tune-octeon2_64 = "lib64"
17MIPSPKGSFX_VARIANT:tune-octeon2_64 = "octeon2_64"
18PACKAGE_EXTRA_ARCHS:tune-octeon2_64 = "mips64 octeon2_64"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050019
20
21TUNEVALID[octeon3] = "Enable optimization related to octeon3 support"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050022TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'octeon3', ' -march=octeon3 ', '',d)}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050023
Patrick Williams213cb262021-08-07 19:21:33 -050024TUNE_FEATURES:tune-octeon3 = "${TUNE_FEATURES:tune-mips64-n32} octeon3"
25BASE_LIB:tune-octeon3 = "lib32"
26MIPSPKGSFX_VARIANT:tune-octeon3 = "octeon3"
27PACKAGE_EXTRA_ARCHS:tune-octeon3 = "mips64-n32 octeon3-n32"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050028
Patrick Williams213cb262021-08-07 19:21:33 -050029TUNE_FEATURES:tune-octeon3_64 = "${TUNE_FEATURES:tune-mips64} octeon3"
30BASE_LIB:tune-octeon3_64 = "lib64"
31MIPSPKGSFX_VARIANT:tune-octeon3_64 = "octeon3_64"
32PACKAGE_EXTRA_ARCHS:tune-octeon3_64 = "mips64 octeon3_64"