blob: b4a7e9ef1b052362b0a074baa6e6711c067cf8cb [file] [log] [blame]
Patrick Williamsc0f7c042017-02-23 20:41:17 -06001DEFAULTTUNE ?= "mipsisa64r6el"
2
3require conf/machine/include/mips/arch-mips.inc
4
5TUNEVALID[mipsisa64r6] = "Enable mipsisa64r6 specific processor optimizations"
6TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'mipsisa64r6', ' -march=mips64r6', '', d)}"
7
8# Base Tunes
9AVAILTUNES += "mipsisa64r6 mipsisa64r6el"
10
Patrick Williams213cb262021-08-07 19:21:33 -050011TUNE_FEATURES:tune-mipsisa64r6 = "bigendian fpu-hard n64 mipsisa64r6 r6"
12MIPSPKGSFX_VARIANT:tune-mipsisa64r6 = "${TUNE_ARCH}"
13BASE_LIB:tune-mipsisa64r6 = "lib64"
14PACKAGE_EXTRA_ARCHS:tune-mipsisa64r6 = "mipsisa64r6"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060015
Patrick Williams213cb262021-08-07 19:21:33 -050016TUNE_FEATURES:tune-mipsisa64r6el = "fpu-hard r6 n64 mipsisa64r6"
17MIPSPKGSFX_VARIANT:tune-mipsisa64r6el = "${TUNE_ARCH}"
18BASE_LIB:tune-mipsisa64r6el = "lib64"
19PACKAGE_EXTRA_ARCHS:tune-mipsisa64r6el = "mipsisa64r6el"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060020
21# Soft Float
22AVAILTUNES += "mipsisa64r6-nf mipsisa64r6el-nf"
23
Patrick Williams213cb262021-08-07 19:21:33 -050024TUNE_FEATURES:tune-mipsisa64r6-nf = "bigendian r6 n64 mipsisa64r6"
25MIPSPKGSFX_VARIANT:tune-mipsisa64r6-nf = "${TUNE_ARCH}"
26BASE_LIB:tune-mipsisa64r6-nf = "lib64"
27PACKAGE_EXTRA_ARCHS:tune-mipsisa64r6-nf = "mipsisa64r6-nf"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060028
Patrick Williams213cb262021-08-07 19:21:33 -050029TUNE_FEATURES:tune-mipsisa64r6el-nf = "r6 n64 mipsisa64r6"
30MIPSPKGSFX_VARIANT:tune-mipsisa64r6el-nf = "${TUNE_ARCH}"
31BASE_LIB:tune-mipsisa64r6el-nf = "lib64"
32PACKAGE_EXTRA_ARCHS:tune-mipsisa64r6el-nf = "mipsisa64r6el-nf"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050033
34# MIPS 64r6 n32
35AVAILTUNES += "mipsisa64r6-n32 mipsisa64r6el-n32"
36
Patrick Williams213cb262021-08-07 19:21:33 -050037TUNE_FEATURES:tune-mipsisa64r6-n32 = "bigendian fpu-hard r6 n32 mipsisa64r6"
38BASE_LIB:tune-mipsisa64r6-n32 = "lib32"
39MIPSPKGSFX_VARIANT:tune-mipsisa64r6-n32 = "${TUNE_ARCH}"
40PACKAGE_EXTRA_ARCHS:tune-mipsisa64r6-n32 = "mipsisa64r6-n32"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050041
Patrick Williams213cb262021-08-07 19:21:33 -050042TUNE_FEATURES:tune-mipsisa64r6el-n32 = "fpu-hard r6 n32 mipsisa64r6"
43BASE_LIB:tune-mipsisa64r6el-n32 = "lib32"
44MIPSPKGSFX_VARIANT:tune-mipsisa64r6el-n32 = "${TUNE_ARCH}"
45PACKAGE_EXTRA_ARCHS:tune-mipsisa64r6el-n32 = "mipsisa64r6el-n32"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050046
47# MIPS 64r6 n32 and Soft Float
48AVAILTUNES += "mipsisa64r6-nf-n32 mipsisa64r6el-nf-n32"
49
Patrick Williams213cb262021-08-07 19:21:33 -050050TUNE_FEATURES:tune-mipsisa64r6-nf-n32 = "bigendian r6 n32 mipsisa64r6"
51BASE_LIB:tune-mipsisa64r6-nf-n32 = "lib32"
52MIPSPKGSFX_VARIANT:tune-mipsisa64r6-nf-n32 = "${TUNE_ARCH}"
53PACKAGE_EXTRA_ARCHS:tune-mipsisa64r6-nf-n32 = "mipsisa64r6-nf-n32"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050054
Patrick Williams213cb262021-08-07 19:21:33 -050055TUNE_FEATURES:tune-mipsisa64r6el-nf-n32 = "r6 n32 mipsisa64r6"
56BASE_LIB:tune-mipsisa64r6el-nf-n32 = "lib32"
57MIPSPKGSFX_VARIANT:tune-mipsisa64r6el-nf-n32 = "${TUNE_ARCH}"
58PACKAGE_EXTRA_ARCHS:tune-mipsisa64r6el-nf-n32 = "mipsisa64r6el-nf-n32"