blob: 44369cb59c31f4e62d74e96ba9e024ec398b37b3 [file] [log] [blame]
Patrick Williamsc0f7c042017-02-23 20:41:17 -06001DEFAULTTUNE ?= "mipsisa32r6el"
2
3require conf/machine/include/mips/arch-mips.inc
4
5TUNEVALID[mipsisa32r6] = "Enable mipsisa32r6 specific processor optimizations"
6TUNECONFLICTS[mipsisa32r6] = "n64 n32"
7TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'mipsisa32r6', ' -march=mips32r6', '', d)}"
8
Brad Bishopd7bf8c12018-02-25 22:55:05 -05009# Base Tunes (Hard Float)
Patrick Williamsc0f7c042017-02-23 20:41:17 -060010AVAILTUNES += "mipsisa32r6 mipsisa32r6el"
11
Brad Bishop6e60e8b2018-02-01 10:27:11 -050012TUNE_FEATURES_tune-mipsisa32r6 = "o32 bigendian mipsisa32r6 fpu-hard r6"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060013MIPSPKGSFX_VARIANT_tune-mipsisa32r6 = "${TUNE_ARCH}"
14PACKAGE_EXTRA_ARCHS_tune-mipsisa32r6 = "mipsisa32r6"
15
Brad Bishop6e60e8b2018-02-01 10:27:11 -050016TUNE_FEATURES_tune-mipsisa32r6el = "o32 fpu-hard mipsisa32r6 r6"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060017MIPSPKGSFX_VARIANT_tune-mipsisa32r6el = "${TUNE_ARCH}"
18PACKAGE_EXTRA_ARCHS_tune-mipsisa32r6el = "mipsisa32r6el"
19
20# Soft Float
21AVAILTUNES += "mipsisa32r6-nf mipsisa32r6el-nf"
22
Brad Bishop6e60e8b2018-02-01 10:27:11 -050023TUNE_FEATURES_tune-mipsisa32r6-nf = "o32 bigendian mipsisa32r6 r6"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060024MIPSPKGSFX_VARIANT_tune-mipsisa32r6-nf = "${TUNE_ARCH}"
25PACKAGE_EXTRA_ARCHS_tune-mipsisa32r6-nf = "mipsisa32r6-nf"
26
Brad Bishop6e60e8b2018-02-01 10:27:11 -050027TUNE_FEATURES_tune-mipsisa32r6el-nf = "o32 mipsisa32r6 r6"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060028MIPSPKGSFX_VARIANT_tune-mipsisa32r6el-nf = "${TUNE_ARCH}"
29PACKAGE_EXTRA_ARCHS_tune-mipsisa32r6el-nf = "mipsisa32r6el-nf"