Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | DEFAULTTUNE ?= "mips32" |
| 2 | |
| 3 | require conf/machine/include/mips/arch-mips.inc |
| 4 | |
| 5 | TUNEVALID[mips32] = "Enable mips32 specific processor optimizations" |
| 6 | TUNECONFLICTS[mips32] = "n64 n32" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 7 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'mips32', ' -march=mips32', '', d)}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 8 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 9 | # Base Tunes (Hard Float) |
| 10 | AVAILTUNES += "mips32 mips32el" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 11 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 12 | TUNE_FEATURES:tune-mips32 = "${TUNE_FEATURES:tune-mips} mips32" |
| 13 | MIPSPKGSFX_VARIANT:tune-mips32 = "mips32" |
| 14 | PACKAGE_EXTRA_ARCHS:tune-mips32 = "mips mips32" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 15 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 16 | TUNE_FEATURES:tune-mips32el = "${TUNE_FEATURES:tune-mipsel} mips32" |
| 17 | MIPSPKGSFX_VARIANT:tune-mips32el = "mips32el" |
| 18 | PACKAGE_EXTRA_ARCHS:tune-mips32el = "mipsel mips32el" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 19 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 20 | # Soft Float |
| 21 | AVAILTUNES += "mips32-nf mips32el-nf" |
| 22 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 23 | TUNE_FEATURES:tune-mips32-nf = "${TUNE_FEATURES:tune-mips-nf} mips32" |
| 24 | MIPSPKGSFX_VARIANT:tune-mips32-nf = "mips32" |
| 25 | PACKAGE_EXTRA_ARCHS:tune-mips32-nf = "mips-nf mips32-nf" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 26 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 27 | TUNE_FEATURES:tune-mips32el-nf = "${TUNE_FEATURES:tune-mipsel-nf} mips32" |
| 28 | MIPSPKGSFX_VARIANT:tune-mips32el-nf = "mips32el" |
| 29 | PACKAGE_EXTRA_ARCHS:tune-mips32el-nf = "mipsel-nf mips32el-nf" |