blob: e9ca4201ffc0fab318a92ca6853a8107f648bbc7 [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"
Andrew Geissler5082cc72023-09-11 08:41:39 -040015QEMU_EXTRAOPTIONS_mips64r2 = " -cpu MIPS64R2-generic"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060016
Patrick Williams213cb262021-08-07 19:21:33 -050017TUNE_FEATURES:tune-mips64r2el = "${TUNE_FEATURES:tune-mips64el} mips64r2"
18BASE_LIB:tune-mips64r2el = "lib64"
19MIPSPKGSFX_VARIANT:tune-mips64r2el = "mips64r2el"
20PACKAGE_EXTRA_ARCHS:tune-mips64r2el = "mips64el mips64r2el"
Andrew Geissler5082cc72023-09-11 08:41:39 -040021QEMU_EXTRAOPTIONS_mips64r2el = " -cpu MIPS64R2-generic"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060022
23# MIPS 64r2 Soft Float
24AVAILTUNES += "mips64r2-nf mips64r2el-nf"
25
Patrick Williams213cb262021-08-07 19:21:33 -050026TUNE_FEATURES:tune-mips64r2-nf = "${TUNE_FEATURES:tune-mips64-nf} mips64r2"
27BASE_LIB:tune-mips64r2-nf = "lib64"
28MIPSPKGSFX_VARIANT:tune-mips64r2-nf = "${TUNE_ARCH}"
29PACKAGE_EXTRA_ARCHS:tune-mips64r2-nf = "mips64-nf mips64r2-nf"
Andrew Geissler5082cc72023-09-11 08:41:39 -040030QEMU_EXTRAOPTIONS_mips64r2-nf = " -cpu MIPS64R2-generic"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060031
Patrick Williams213cb262021-08-07 19:21:33 -050032TUNE_FEATURES:tune-mips64r2el-nf = "${TUNE_FEATURES:tune-mips64el-nf} mips64r2"
33BASE_LIB:tune-mips64r2el-nf = "lib64"
34MIPSPKGSFX_VARIANT:tune-mips64r2el-nf = "${TUNE_ARCH}"
35PACKAGE_EXTRA_ARCHS:tune-mips64r2el-nf = "mips64el-nf mips64r2el-nf"
Andrew Geissler5082cc72023-09-11 08:41:39 -040036QEMU_EXTRAOPTIONS_mips64r2el-nf = " -cpu MIPS64R2-generic"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060037
38# MIPS 64r2 n32
39AVAILTUNES += "mips64r2-n32 mips64r2el-n32"
40
Patrick Williams213cb262021-08-07 19:21:33 -050041TUNE_FEATURES:tune-mips64r2-n32 = "${TUNE_FEATURES:tune-mips64-n32} mips64r2"
42BASE_LIB:tune-mips64r2-n32 = "lib32"
43MIPSPKGSFX_VARIANT:tune-mips64r2-n32 = "${TUNE_ARCH}"
44PACKAGE_EXTRA_ARCHS:tune-mips64r2-n32 = "mips64-n32 mips64r2-n32"
Andrew Geissler5082cc72023-09-11 08:41:39 -040045QEMU_EXTRAOPTIONS_mips64r2-n32 = " -cpu MIPS64R2-generic"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060046
Patrick Williams213cb262021-08-07 19:21:33 -050047TUNE_FEATURES:tune-mips64r2el-n32 = "${TUNE_FEATURES:tune-mips64el-n32} mips64r2"
48BASE_LIB:tune-mips64r2el-n32 = "lib32"
49MIPSPKGSFX_VARIANT:tune-mips64r2el-n32 = "${TUNE_ARCH}"
50PACKAGE_EXTRA_ARCHS:tune-mips64r2el-n32 = "mips64el-n32 mips64r2el-n32"
Andrew Geissler5082cc72023-09-11 08:41:39 -040051QEMU_EXTRAOPTIONS_mips64r2el-n32 = " -cpu MIPS64R2-generic"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060052
53# MIPS 64r2 n32 and Soft Float
54AVAILTUNES += "mips64r2-nf-n32 mips64r2el-nf-n32"
55
Patrick Williams213cb262021-08-07 19:21:33 -050056TUNE_FEATURES:tune-mips64r2-nf-n32 = "${TUNE_FEATURES:tune-mips64-nf-n32} mips64r2"
57BASE_LIB:tune-mips64r2-nf-n32 = "lib32"
58MIPSPKGSFX_VARIANT:tune-mips64r2-nf-n32 = "${TUNE_ARCH}"
59PACKAGE_EXTRA_ARCHS:tune-mips64r2-nf-n32 = "mips64-nf-n32 mips64r2-nf-n32"
Andrew Geissler5082cc72023-09-11 08:41:39 -040060QEMU_EXTRAOPTIONS_mips64r2-nf-n32 = " -cpu MIPS64R2-generic"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060061
Patrick Williams213cb262021-08-07 19:21:33 -050062TUNE_FEATURES:tune-mips64r2el-nf-n32 = "${TUNE_FEATURES:tune-mips64el-nf-n32} mips64r2"
63BASE_LIB:tune-mips64r2el-nf-n32 = "lib32"
64MIPSPKGSFX_VARIANT:tune-mips64r2el-nf-n32 = "${TUNE_ARCH}"
65PACKAGE_EXTRA_ARCHS:tune-mips64r2el-nf-n32 = "mips64el-nf-n32 mips64r2el-nf-n32"
Andrew Geissler5082cc72023-09-11 08:41:39 -040066QEMU_EXTRAOPTIONS_mips64r2el-nf-32 = " -cpu MIPS64R2-generic"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060067
68# MIPS 64r2 o32
69AVAILTUNES += "mips64r2-o32 mips64r2el-o32"
70
Patrick Williams213cb262021-08-07 19:21:33 -050071TUNE_FEATURES:tune-mips64r2-o32 = "${TUNE_FEATURES:tune-mips64-o32} mips64r2"
72BASE_LIB:tune-mips64r2-o32 = "lib"
73MIPSPKGSFX_VARIANT:tune-mips64r2-o32 = "${TUNE_ARCH}"
74PACKAGE_EXTRA_ARCHS:tune-mips64r2-o32 = "mips mips64-o32 mips64r2-o32"
Andrew Geissler5082cc72023-09-11 08:41:39 -040075QEMU_EXTRAOPTIONS_mips64r2-o32 = " -cpu MIPS64R2-generic"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060076
Patrick Williams213cb262021-08-07 19:21:33 -050077TUNE_FEATURES:tune-mips64r2el-o32 = "${TUNE_FEATURES:tune-mips64el-o32} mips64r2"
78BASE_LIB:tune-mips64r2el-o32 = "lib"
79MIPSPKGSFX_VARIANT:tune-mips64r2el-o32 = "${TUNE_ARCH}"
80PACKAGE_EXTRA_ARCHS:tune-mips64r2el-o32 = "mipsel mips64el-o32 mips64r2el-o32"
Andrew Geissler5082cc72023-09-11 08:41:39 -040081QEMU_EXTRAOPTIONS_mips64r2el-o32 = " -cpu MIPS64R2-generic"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060082
83# MIPS 64r2 o32 and Soft Float
84AVAILTUNES += "mips64r2-nf-o32 mips64r2el-nf-o32"
85
Patrick Williams213cb262021-08-07 19:21:33 -050086TUNE_FEATURES:tune-mips64r2-nf-o32 = "${TUNE_FEATURES:tune-mips64-nf-o32} mips64r2"
87BASE_LIB:tune-mips64r2-nf-o32 = "lib"
88MIPSPKGSFX_VARIANT:tune-mips64r2-nf-o32 = "${TUNE_ARCH}"
89PACKAGE_EXTRA_ARCHS:tune-mips64r2-nf-o32 = "mips-nf mips64r2-nf-o32"
Andrew Geissler5082cc72023-09-11 08:41:39 -040090QEMU_EXTRAOPTIONS_mips64r2-nf-o32 = " -cpu MIPS64R2-generic"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060091
Patrick Williams213cb262021-08-07 19:21:33 -050092TUNE_FEATURES:tune-mips64r2el-nf-o32 = "${TUNE_FEATURES:tune-mips64el-nf-o32} mips64r2"
93BASE_LIB:tune-mips64r2el-nf-o32 = "lib"
94MIPSPKGSFX_VARIANT:tune-mips64r2el-nf-o32 = "${TUNE_ARCH}"
95PACKAGE_EXTRA_ARCHS:tune-mips64r2el-nf-o32 = "mipsel-nf mips64r2el-nf-o32"
Andrew Geissler5082cc72023-09-11 08:41:39 -040096QEMU_EXTRAOPTIONS_mips64r2el-nf-o32 = " -cpu MIPS64R2-generic"