blob: c868e925e90aecc6d1febcfdf412c1895355a22d [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001DEFAULTTUNE ?= "mips32r2"
2
Andrew Geisslerd159c7f2021-09-02 21:05:58 -05003require conf/machine/include/mips/tune-mips32.inc
Patrick Williamsc124f4f2015-09-15 14:41:29 -05004
5TUNEVALID[mips32r2] = "Enable mips32r2 specific processor optimizations"
6TUNECONFLICTS[mips32r2] = "n64 n32"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05007TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'mips32r2', ' -march=mips32r2', '', d)}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05008
Brad Bishopd7bf8c12018-02-25 22:55:05 -05009# Base Tunes (Hard Float)
Patrick Williamsc124f4f2015-09-15 14:41:29 -050010AVAILTUNES += "mips32r2 mips32r2el"
11
Patrick Williams213cb262021-08-07 19:21:33 -050012TUNE_FEATURES:tune-mips32r2 = "${TUNE_FEATURES:tune-mips} mips32r2"
13MIPSPKGSFX_VARIANT:tune-mips32r2 = "mips32r2"
14PACKAGE_EXTRA_ARCHS:tune-mips32r2 = "mips mips32 mips32r2"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050015
Patrick Williams213cb262021-08-07 19:21:33 -050016TUNE_FEATURES:tune-mips32r2el = "${TUNE_FEATURES:tune-mipsel} mips32r2"
17MIPSPKGSFX_VARIANT:tune-mips32r2el = "mips32r2el"
18PACKAGE_EXTRA_ARCHS:tune-mips32r2el = "mipsel mips32el mips32r2el"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060019
Brad Bishopd7bf8c12018-02-25 22:55:05 -050020# Soft Float
Patrick Williamsc0f7c042017-02-23 20:41:17 -060021AVAILTUNES += "mips32r2-nf mips32r2el-nf"
22
Patrick Williams213cb262021-08-07 19:21:33 -050023TUNE_FEATURES:tune-mips32r2-nf = "${TUNE_FEATURES:tune-mips-nf} mips32r2"
24MIPSPKGSFX_VARIANT:tune-mips32r2-nf = "mips32r2"
25PACKAGE_EXTRA_ARCHS:tune-mips32r2-nf = "mips-nf mips32-nf mips32r2-nf"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060026
Patrick Williams213cb262021-08-07 19:21:33 -050027TUNE_FEATURES:tune-mips32r2el-nf = "${TUNE_FEATURES:tune-mipsel-nf} mips32r2"
28MIPSPKGSFX_VARIANT:tune-mips32r2el-nf = "mips32r2el"
29PACKAGE_EXTRA_ARCHS:tune-mips32r2el-nf = "mipsel-nf mips32el-nf mips32r2el-nf"