1DEFAULTTUNE ?= "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
9# Base Tunes (Hard Float)
10AVAILTUNES += "mipsisa32r6 mipsisa32r6el"
11
12TUNE_FEATURES:tune-mipsisa32r6 = "o32 bigendian mipsisa32r6 fpu-hard r6"
13MIPSPKGSFX_VARIANT:tune-mipsisa32r6 = "${TUNE_ARCH}"
14PACKAGE_EXTRA_ARCHS:tune-mipsisa32r6 = "mipsisa32r6"
15
16TUNE_FEATURES:tune-mipsisa32r6el = "o32 fpu-hard mipsisa32r6 r6"
17MIPSPKGSFX_VARIANT:tune-mipsisa32r6el = "${TUNE_ARCH}"
18PACKAGE_EXTRA_ARCHS:tune-mipsisa32r6el = "mipsisa32r6el"
19
20# Soft Float
21AVAILTUNES += "mipsisa32r6-nf mipsisa32r6el-nf"
22
23TUNE_FEATURES:tune-mipsisa32r6-nf = "o32 bigendian mipsisa32r6 r6"
24MIPSPKGSFX_VARIANT:tune-mipsisa32r6-nf = "${TUNE_ARCH}"
25PACKAGE_EXTRA_ARCHS:tune-mipsisa32r6-nf = "mipsisa32r6-nf"
26
27TUNE_FEATURES:tune-mipsisa32r6el-nf = "o32 mipsisa32r6 r6"
28MIPSPKGSFX_VARIANT:tune-mipsisa32r6el-nf = "${TUNE_ARCH}"
29PACKAGE_EXTRA_ARCHS:tune-mipsisa32r6el-nf = "mipsisa32r6el-nf"
30