summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/include/mips/tune-mips32r2.inc
blob: c868e925e90aecc6d1febcfdf412c1895355a22d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
DEFAULTTUNE ?= "mips32r2"

require conf/machine/include/mips/tune-mips32.inc

TUNEVALID[mips32r2] = "Enable mips32r2 specific processor optimizations"
TUNECONFLICTS[mips32r2] = "n64 n32"
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'mips32r2', ' -march=mips32r2', '', d)}"

# Base Tunes (Hard Float)
AVAILTUNES += "mips32r2 mips32r2el"

TUNE_FEATURES:tune-mips32r2 = "${TUNE_FEATURES:tune-mips} mips32r2"
MIPSPKGSFX_VARIANT:tune-mips32r2 = "mips32r2"
PACKAGE_EXTRA_ARCHS:tune-mips32r2 = "mips mips32 mips32r2"

TUNE_FEATURES:tune-mips32r2el = "${TUNE_FEATURES:tune-mipsel} mips32r2"
MIPSPKGSFX_VARIANT:tune-mips32r2el = "mips32r2el"
PACKAGE_EXTRA_ARCHS:tune-mips32r2el = "mipsel mips32el mips32r2el"

# Soft Float
AVAILTUNES += "mips32r2-nf mips32r2el-nf"

TUNE_FEATURES:tune-mips32r2-nf = "${TUNE_FEATURES:tune-mips-nf} mips32r2"
MIPSPKGSFX_VARIANT:tune-mips32r2-nf = "mips32r2"
PACKAGE_EXTRA_ARCHS:tune-mips32r2-nf = "mips-nf mips32-nf mips32r2-nf"

TUNE_FEATURES:tune-mips32r2el-nf = "${TUNE_FEATURES:tune-mipsel-nf} mips32r2"
MIPSPKGSFX_VARIANT:tune-mips32r2el-nf = "mips32r2el"
PACKAGE_EXTRA_ARCHS:tune-mips32r2el-nf = "mipsel-nf mips32el-nf mips32r2el-nf"