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