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 | |
| 12 | TUNE_FEATURES_tune-mips32 = "${TUNE_FEATURES_tune-mips} mips32" |
| 13 | MIPSPKGSFX_VARIANT_tune-mips32 = "mips32" |
| 14 | PACKAGE_EXTRA_ARCHS_tune-mips32 = "mips mips32" |
| 15 | |
| 16 | TUNE_FEATURES_tune-mips32el = "${TUNE_FEATURES_tune-mipsel} mips32" |
| 17 | MIPSPKGSFX_VARIANT_tune-mips32el = "mips32el" |
| 18 | PACKAGE_EXTRA_ARCHS_tune-mips32el = "mipsel mips32el" |
| 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 | c124f4f | 2015-09-15 14:41:29 -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" |
| 26 | |
| 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" |