blob: f24d9dbb54ee8bc13c3e68f248058c453647df78 [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"
8TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "octeon2", " -march=octeon2 ", "",d)}"
9
10TUNE_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"
14
15TUNE_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"
19
20
21TUNEVALID[octeon3] = "Enable optimization related to octeon3 support"
22TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "octeon3", " -march=octeon3 ", "",d)}"
23
24TUNE_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"
28
29TUNE_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"