blob: a90c0f059d051dcb3179ff1f970ee20b20cf60db [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
12TUNE_FEATURES_tune-mips32 = "${TUNE_FEATURES_tune-mips} mips32"
13MIPSPKGSFX_VARIANT_tune-mips32 = "mips32"
14PACKAGE_EXTRA_ARCHS_tune-mips32 = "mips mips32"
15
16TUNE_FEATURES_tune-mips32el = "${TUNE_FEATURES_tune-mipsel} mips32"
17MIPSPKGSFX_VARIANT_tune-mips32el = "mips32el"
18PACKAGE_EXTRA_ARCHS_tune-mips32el = "mipsel mips32el"
19
Brad Bishopd7bf8c12018-02-25 22:55:05 -050020# Soft Float
21AVAILTUNES += "mips32-nf mips32el-nf"
22
Patrick Williamsc124f4f2015-09-15 14:41:29 -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"
26
27TUNE_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"