blob: c644f409187bfa4c31919917f6cc9a599a8e6b69 [file] [log] [blame]
Patrick Williamsc0f7c042017-02-23 20:41:17 -06001DEFAULTTUNE ?= "mips64r2"
2
Andrew Geisslerd159c7f2021-09-02 21:05:58 -05003require conf/machine/include/mips/tune-mips64.inc
Patrick Williamsc0f7c042017-02-23 20:41:17 -06004
5TUNEVALID[mips64r2] = "Enable mips64r2 specific processor optimizations"
6TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'mips64r2', ' -march=mips64r2', '', d)}"
7
8# Base tunes
9AVAILTUNES += "mips64r2 mips64r2el"
10
Patrick Williams213cb262021-08-07 19:21:33 -050011TUNE_FEATURES:tune-mips64r2 = "${TUNE_FEATURES:tune-mips64} mips64r2"
12BASE_LIB:tune-mips64r2 = "lib64"
13MIPSPKGSFX_VARIANT:tune-mips64r2 = "mips64r2"
14PACKAGE_EXTRA_ARCHS:tune-mips64r2 = "mips64 mips64r2"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060015
Patrick Williams213cb262021-08-07 19:21:33 -050016TUNE_FEATURES:tune-mips64r2el = "${TUNE_FEATURES:tune-mips64el} mips64r2"
17BASE_LIB:tune-mips64r2el = "lib64"
18MIPSPKGSFX_VARIANT:tune-mips64r2el = "mips64r2el"
19PACKAGE_EXTRA_ARCHS:tune-mips64r2el = "mips64el mips64r2el"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060020
21# MIPS 64r2 Soft Float
22AVAILTUNES += "mips64r2-nf mips64r2el-nf"
23
Patrick Williams213cb262021-08-07 19:21:33 -050024TUNE_FEATURES:tune-mips64r2-nf = "${TUNE_FEATURES:tune-mips64-nf} mips64r2"
25BASE_LIB:tune-mips64r2-nf = "lib64"
26MIPSPKGSFX_VARIANT:tune-mips64r2-nf = "${TUNE_ARCH}"
27PACKAGE_EXTRA_ARCHS:tune-mips64r2-nf = "mips64-nf mips64r2-nf"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060028
Patrick Williams213cb262021-08-07 19:21:33 -050029TUNE_FEATURES:tune-mips64r2el-nf = "${TUNE_FEATURES:tune-mips64el-nf} mips64r2"
30BASE_LIB:tune-mips64r2el-nf = "lib64"
31MIPSPKGSFX_VARIANT:tune-mips64r2el-nf = "${TUNE_ARCH}"
32PACKAGE_EXTRA_ARCHS:tune-mips64r2el-nf = "mips64el-nf mips64r2el-nf"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060033
34# MIPS 64r2 n32
35AVAILTUNES += "mips64r2-n32 mips64r2el-n32"
36
Patrick Williams213cb262021-08-07 19:21:33 -050037TUNE_FEATURES:tune-mips64r2-n32 = "${TUNE_FEATURES:tune-mips64-n32} mips64r2"
38BASE_LIB:tune-mips64r2-n32 = "lib32"
39MIPSPKGSFX_VARIANT:tune-mips64r2-n32 = "${TUNE_ARCH}"
40PACKAGE_EXTRA_ARCHS:tune-mips64r2-n32 = "mips64-n32 mips64r2-n32"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060041
Patrick Williams213cb262021-08-07 19:21:33 -050042TUNE_FEATURES:tune-mips64r2el-n32 = "${TUNE_FEATURES:tune-mips64el-n32} mips64r2"
43BASE_LIB:tune-mips64r2el-n32 = "lib32"
44MIPSPKGSFX_VARIANT:tune-mips64r2el-n32 = "${TUNE_ARCH}"
45PACKAGE_EXTRA_ARCHS:tune-mips64r2el-n32 = "mips64el-n32 mips64r2el-n32"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060046
47# MIPS 64r2 n32 and Soft Float
48AVAILTUNES += "mips64r2-nf-n32 mips64r2el-nf-n32"
49
Patrick Williams213cb262021-08-07 19:21:33 -050050TUNE_FEATURES:tune-mips64r2-nf-n32 = "${TUNE_FEATURES:tune-mips64-nf-n32} mips64r2"
51BASE_LIB:tune-mips64r2-nf-n32 = "lib32"
52MIPSPKGSFX_VARIANT:tune-mips64r2-nf-n32 = "${TUNE_ARCH}"
53PACKAGE_EXTRA_ARCHS:tune-mips64r2-nf-n32 = "mips64-nf-n32 mips64r2-nf-n32"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060054
Patrick Williams213cb262021-08-07 19:21:33 -050055TUNE_FEATURES:tune-mips64r2el-nf-n32 = "${TUNE_FEATURES:tune-mips64el-nf-n32} mips64r2"
56BASE_LIB:tune-mips64r2el-nf-n32 = "lib32"
57MIPSPKGSFX_VARIANT:tune-mips64r2el-nf-n32 = "${TUNE_ARCH}"
58PACKAGE_EXTRA_ARCHS:tune-mips64r2el-nf-n32 = "mips64el-nf-n32 mips64r2el-nf-n32"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060059
60# MIPS 64r2 o32
61AVAILTUNES += "mips64r2-o32 mips64r2el-o32"
62
Patrick Williams213cb262021-08-07 19:21:33 -050063TUNE_FEATURES:tune-mips64r2-o32 = "${TUNE_FEATURES:tune-mips64-o32} mips64r2"
64BASE_LIB:tune-mips64r2-o32 = "lib"
65MIPSPKGSFX_VARIANT:tune-mips64r2-o32 = "${TUNE_ARCH}"
66PACKAGE_EXTRA_ARCHS:tune-mips64r2-o32 = "mips mips64-o32 mips64r2-o32"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060067
Patrick Williams213cb262021-08-07 19:21:33 -050068TUNE_FEATURES:tune-mips64r2el-o32 = "${TUNE_FEATURES:tune-mips64el-o32} mips64r2"
69BASE_LIB:tune-mips64r2el-o32 = "lib"
70MIPSPKGSFX_VARIANT:tune-mips64r2el-o32 = "${TUNE_ARCH}"
71PACKAGE_EXTRA_ARCHS:tune-mips64r2el-o32 = "mipsel mips64el-o32 mips64r2el-o32"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060072
73# MIPS 64r2 o32 and Soft Float
74AVAILTUNES += "mips64r2-nf-o32 mips64r2el-nf-o32"
75
Patrick Williams213cb262021-08-07 19:21:33 -050076TUNE_FEATURES:tune-mips64r2-nf-o32 = "${TUNE_FEATURES:tune-mips64-nf-o32} mips64r2"
77BASE_LIB:tune-mips64r2-nf-o32 = "lib"
78MIPSPKGSFX_VARIANT:tune-mips64r2-nf-o32 = "${TUNE_ARCH}"
79PACKAGE_EXTRA_ARCHS:tune-mips64r2-nf-o32 = "mips-nf mips64r2-nf-o32"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060080
Patrick Williams213cb262021-08-07 19:21:33 -050081TUNE_FEATURES:tune-mips64r2el-nf-o32 = "${TUNE_FEATURES:tune-mips64el-nf-o32} mips64r2"
82BASE_LIB:tune-mips64r2el-nf-o32 = "lib"
83MIPSPKGSFX_VARIANT:tune-mips64r2el-nf-o32 = "${TUNE_ARCH}"
84PACKAGE_EXTRA_ARCHS:tune-mips64r2el-nf-o32 = "mipsel-nf mips64r2el-nf-o32"