Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
56
sources/poky/meta/conf/machine/include/mips/README
Normal file
56
sources/poky/meta/conf/machine/include/mips/README
Normal file
@@ -0,0 +1,56 @@
|
||||
2016/09/30 - Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
|
||||
- Add Release 6 support
|
||||
|
||||
2012/03/30 - Mark Hatle <mark.hatle@windriver.com>
|
||||
- Initial Version
|
||||
|
||||
MIPS currently defines 12 ABIs. Combinations of:
|
||||
*) Big/Little Endian
|
||||
*) Hardware/Software Floating Point
|
||||
*) o32, n32, n64 ABI
|
||||
|
||||
Release 6 of the ISA is a major revision and doesn't build up on previous
|
||||
releases of the ISA.
|
||||
|
||||
For more details about tuples, check https://wiki.debian.org/Multiarch/Tuples
|
||||
|
||||
TUNE_ARCH, the GNU canonical arch, is defined as:
|
||||
|
||||
"mips${MIPSPKGSFX_32R6}${MIPSPKGSFX_64R6}${MIPSPKGSFX_BYTE}${MIPSPKGSFX_R6}${MIPSPKGSFX_ENDIAN}"
|
||||
|
||||
The package arch is defined in such a way to generated a standard naming
|
||||
scheme. The scheme is: <mips variant>[-nf][-n32]
|
||||
|
||||
TUNE_PKGARCH is defined as:
|
||||
|
||||
${MIPSPKGSFX_VARIANT:tune-${DEFAULTTUNE}}${MIPSPKGSFX_FPU}${MIPSPKGSFX_ABI}
|
||||
|
||||
The following is a list of MIPS specific variables:
|
||||
|
||||
MIPSPKGSFX_BYTE - This is defined as either blank and "64" for MIPS64 CPUs.
|
||||
|
||||
MIPSPKGSFX_ENDIAN - For bigendian hardware this is blank, otherwise it's
|
||||
defined as "el".
|
||||
|
||||
MIPSPKGSFX_ENDIAN2 - For bigendian hardware this is "eb", otherwise it's
|
||||
defined as "el".
|
||||
|
||||
MIPSPKGSFX_VARIANT:tune-<tune> - In the default tunings it is set to the
|
||||
same value as TUNE_ARCH. In custom, optimized tunings, the value should
|
||||
be modified to more precisely describe the tuning.
|
||||
|
||||
MIPSPKGSFX_FPU - The value is set to "" or "-nf", where "-nf" indicates
|
||||
that the tune is using a non-floating point ABI.
|
||||
|
||||
MIPSPKGSFX_ABI - This is used to specify an alternative ABI when the previous
|
||||
values are not enough to distringuish the package. "-n32" is added when
|
||||
building for N32 ABI.
|
||||
|
||||
MIPSPKGSFX_R6 - This is used to specify the presence of release 6.
|
||||
"r6" is added in the tuple for release 6 of the isa.
|
||||
|
||||
MIPSPKGSFX_64R6 - This is used to specify "isa" in the tuple.
|
||||
Release 6 onwards we use "mipsisa64" instead of just "mips64".
|
||||
|
||||
MIPSPKGSFX_32R6 - This is used to specify "isa32" in the tuple.
|
||||
Release 6 onwards we use "mipsisa32" instead of just "mips".
|
||||
153
sources/poky/meta/conf/machine/include/mips/arch-mips.inc
Normal file
153
sources/poky/meta/conf/machine/include/mips/arch-mips.inc
Normal file
@@ -0,0 +1,153 @@
|
||||
# MIPS Architecture definition
|
||||
# 12 defined ABIs, all combinations of:
|
||||
# *) Big/Little Endian
|
||||
# *) Hardware/Software Floating Point
|
||||
# *) o32, n32, n64 ABI
|
||||
|
||||
DEFAULTTUNE ?= "mips"
|
||||
|
||||
# Endianess
|
||||
TUNEVALID[bigendian] = "Enable big-endian mode"
|
||||
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'bigendian', ' -meb', ' -mel', d)}"
|
||||
|
||||
# ABI flags
|
||||
TUNEVALID[o32] = "MIPS o32 ABI"
|
||||
TUNECONFLICTS[o32] = "n32 n64"
|
||||
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'o32', ' -mabi=32', '', d)}"
|
||||
|
||||
TUNEVALID[n32] = "MIPS64 n32 ABI"
|
||||
TUNECONFLICTS[n32] = "o32 n64"
|
||||
ABIEXTENSION .= "${@bb.utils.filter('TUNE_FEATURES', 'n32', d)}"
|
||||
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'n32', ' -mabi=n32', '', d)}"
|
||||
|
||||
# user mode qemu doesn't support mips64 n32: "Invalid ELF image for this architecture"
|
||||
MACHINE_FEATURES_BACKFILL_CONSIDERED:append = " ${@bb.utils.contains('TUNE_FEATURES', 'n32', 'qemu-usermode', '', d)}"
|
||||
|
||||
TUNEVALID[n64] = "MIPS64 n64 ABI"
|
||||
TUNECONFLICTS[n64] = "o32 n32"
|
||||
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'n64', ' -mabi=64', '', d)}"
|
||||
LD64ARG = "${@bb.utils.contains('TUNE_FEATURES', 'bigendian', '-m elf64btsmip', '-m elf64ltsmip', d)}"
|
||||
TUNE_LDARGS += "${@bb.utils.contains('TUNE_FEATURES', 'n64', '${LD64ARG}', '', d)}"
|
||||
|
||||
# Floating point
|
||||
TUNEVALID[fpu-hard] = "Use hardware FPU"
|
||||
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'fpu-hard', ' -mhard-float', ' -msoft-float', d)}"
|
||||
TARGET_FPU = "${@bb.utils.contains('TUNE_FEATURES', 'fpu-hard', '', 'soft', d)}"
|
||||
|
||||
# MIPS r6 ABI
|
||||
TUNEVALID[r6] = "Use r6"
|
||||
TUNEVALID[mipsisa64r6] = "Use 64r6"
|
||||
TUNEVALID[mipsisa32r6] = "Use 32r6"
|
||||
|
||||
# Package naming
|
||||
MIPSPKGSFX_ENDIAN = "${@bb.utils.contains('TUNE_FEATURES', 'bigendian', '', 'el', d)}"
|
||||
MIPSPKGSFX_ENDIAN2 = "${@bb.utils.contains('TUNE_FEATURES', 'bigendian', 'eb', 'el', d)}"
|
||||
MIPSPKGSFX_BYTE = "${@bb.utils.contains('TUNE_FEATURES', 'n64' , '64', '', d)}"
|
||||
MIPSPKGSFX_BYTE .= "${@bb.utils.contains('TUNE_FEATURES', 'n32' , '64', '', d)}"
|
||||
MIPSPKGSFX_FPU = "${@bb.utils.contains('TUNE_FEATURES', 'fpu-hard' , '', '-nf', d)}"
|
||||
MIPSPKGSFX_ABI = "${@bb.utils.contains('TUNE_FEATURES', 'n32', '-n32', '', d)}"
|
||||
MIPSPKGSFX_R6 = "${@bb.utils.filter('TUNE_FEATURES', 'r6', d)}"
|
||||
MIPSPKGSFX_64R6 = "${@bb.utils.contains('TUNE_FEATURES', 'mipsisa64r6', 'isa', '', d)}"
|
||||
MIPSPKGSFX_32R6 = "${@bb.utils.contains('TUNE_FEATURES', 'mipsisa32r6', 'isa32', '', d)}"
|
||||
|
||||
TUNE_ARCH = "mips${MIPSPKGSFX_32R6}${MIPSPKGSFX_64R6}${MIPSPKGSFX_BYTE}${MIPSPKGSFX_R6}${MIPSPKGSFX_ENDIAN}"
|
||||
TUNE_PKGARCH = "${MIPSPKGSFX_VARIANT:tune-${DEFAULTTUNE}}${MIPSPKGSFX_FPU}${MIPSPKGSFX_ABI}"
|
||||
|
||||
# Various Global Machine Overrides
|
||||
MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'n64', 'mipsarchn64${MIPSPKGSFX_ENDIAN2}:', '', d)}"
|
||||
MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'o32', 'mipsarcho32${MIPSPKGSFX_ENDIAN2}:', '', d)}"
|
||||
MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'n32', 'mipsarchn32${MIPSPKGSFX_ENDIAN2}:', '', d)}"
|
||||
MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'n64', 'mipsarchn64:', '', d)}"
|
||||
MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'o32', 'mipsarcho32:', '', d)}"
|
||||
MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'n32', 'mipsarchn32:', '', d)}"
|
||||
MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'r6', 'mipsarchr6:', '', d)}"
|
||||
MACHINEOVERRIDES =. "mipsarch${MIPSPKGSFX_ENDIAN2}:"
|
||||
MACHINEOVERRIDES =. "mipsarch:"
|
||||
|
||||
# Base tunes
|
||||
AVAILTUNES += "mips mips64-n32 mips64 mipsel mips64el-n32 mips64el mips-nf mips64-nf-n32 mips64-nf mipsel-nf mips64el-nf-n32 mips64el-nf"
|
||||
TUNE_FEATURES:tune-mips = "o32 bigendian fpu-hard"
|
||||
BASE_LIB:tune-mips = "lib"
|
||||
MIPSPKGSFX_VARIANT:tune-mips = "${TUNE_ARCH}"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mips = "mips"
|
||||
|
||||
TUNE_FEATURES:tune-mips64-n32 = "n32 bigendian fpu-hard"
|
||||
BASE_LIB:tune-mips64-n32 = "lib32"
|
||||
MIPSPKGSFX_VARIANT:tune-mips64-n32 = "${TUNE_ARCH}"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mips64-n32 = "mips64-n32"
|
||||
|
||||
TUNE_FEATURES:tune-mips64 = "n64 bigendian fpu-hard"
|
||||
BASE_LIB:tune-mips64 = "lib64"
|
||||
MIPSPKGSFX_VARIANT:tune-mips64 = "${TUNE_ARCH}"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mips64 = "mips64"
|
||||
|
||||
TUNE_FEATURES:tune-mipsel = "o32 fpu-hard"
|
||||
BASE_LIB:tune-mipsel = "lib"
|
||||
MIPSPKGSFX_VARIANT:tune-mipsel = "${TUNE_ARCH}"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mipsel = "mipsel"
|
||||
|
||||
TUNE_FEATURES:tune-mips64el-n32 = "n32 fpu-hard"
|
||||
BASE_LIB:tune-mips64el-n32 = "lib32"
|
||||
MIPSPKGSFX_VARIANT:tune-mips64el-n32 = "${TUNE_ARCH}"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mips64el-n32 = "mips64el-n32"
|
||||
|
||||
TUNE_FEATURES:tune-mips64el = "n64 fpu-hard"
|
||||
BASE_LIB:tune-mips64el = "lib64"
|
||||
MIPSPKGSFX_VARIANT:tune-mips64el = "${TUNE_ARCH}"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mips64el = "mips64el"
|
||||
|
||||
TUNE_FEATURES:tune-mips-nf = "o32 bigendian"
|
||||
BASE_LIB:tune-mips-nf = "lib"
|
||||
MIPSPKGSFX_VARIANT:tune-mips-nf = "${TUNE_ARCH}"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mips-nf = "mips-nf"
|
||||
|
||||
TUNE_FEATURES:tune-mips64-nf-n32 = "n32 bigendian"
|
||||
BASE_LIB:tune-mips64-nf-n32 = "lib32"
|
||||
MIPSPKGSFX_VARIANT:tune-mips64-nf-n32 = "${TUNE_ARCH}"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mips64-nf-n32 = "mips64-nf-n32"
|
||||
|
||||
TUNE_FEATURES:tune-mips64-nf = "n64 bigendian"
|
||||
BASE_LIB:tune-mips64-nf = "lib64"
|
||||
MIPSPKGSFX_VARIANT:tune-mips64-nf = "${TUNE_ARCH}"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mips64-nf = "mips64-nf"
|
||||
|
||||
TUNE_FEATURES:tune-mipsel-nf = "o32"
|
||||
BASE_LIB:tune-mipsel-nf = "lib"
|
||||
MIPSPKGSFX_VARIANT:tune-mipsel-nf = "${TUNE_ARCH}"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mipsel-nf = "mipsel-nf"
|
||||
|
||||
TUNE_FEATURES:tune-mips64el-nf-n32 = "n32"
|
||||
BASE_LIB:tune-mips64el-nf-n32 = "lib32"
|
||||
MIPSPKGSFX_VARIANT:tune-mips64el-nf-n32 = "${TUNE_ARCH}"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mips64el-nf-n32 = "mips64el-nf-n32"
|
||||
|
||||
TUNE_FEATURES:tune-mips64el-nf = "n64"
|
||||
BASE_LIB:tune-mips64el-nf = "lib64"
|
||||
MIPSPKGSFX_VARIANT:tune-mips64el-nf = "${TUNE_ARCH}"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mips64el-nf = "mips64el-nf"
|
||||
|
||||
# MIPS 64 + o32
|
||||
AVAILTUNES += "mips64-o32 mips64el-o32"
|
||||
|
||||
TUNE_FEATURES:tune-mips64-o32 = "o32 bigendian fpu-hard"
|
||||
BASE_LIB:tune-mips64-o32 = "lib"
|
||||
MIPSPKGSFX_VARIANT:tune-mips64-o32 = "${TUNE_ARCH}"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mips64-o32 = "mips mips64-o32"
|
||||
|
||||
TUNE_FEATURES:tune-mips64el-o32 = "o32 fpu-hard"
|
||||
BASE_LIB:tune-mips64el-o32 = "lib"
|
||||
MIPSPKGSFX_VARIANT:tune-mips64el-o32 = "${TUNE_ARCH}"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mips64el-o32 = "mipsel mips64el-o32"
|
||||
|
||||
# MIPS 64 o32 and Soft Float
|
||||
AVAILTUNES += "mips64-nf-o32 mips64el-nf-o32"
|
||||
|
||||
TUNE_FEATURES:tune-mips64-nf-o32 = "o32 bigendian"
|
||||
BASE_LIB:tune-mips64-nf-o32 = "lib"
|
||||
MIPSPKGSFX_VARIANT:tune-mips64-nf-o32 = "${TUNE_ARCH}"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mips64-nf-o32 = "mips-nf mips64-nf-o32"
|
||||
|
||||
TUNE_FEATURES:tune-mips64el-nf-o32 = "o32"
|
||||
BASE_LIB:tune-mips64el-nf-o32 = "lib"
|
||||
MIPSPKGSFX_VARIANT:tune-mips64el-nf-o32 = "${TUNE_ARCH}"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mips64el-nf-o32 = "mipsel-nf mips64el-nf-o32"
|
||||
@@ -0,0 +1,17 @@
|
||||
TUNEVALID[mips16e] = "Build target packages with MIPS16e ASE instructions"
|
||||
MIPS_MIPS16E_OPT = "${@['mno-mips16', 'mips16'][d.getVar('MIPS_INSTRUCTION_SET') == 'mips16e']}"
|
||||
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'mips16e', ' -${MIPS_MIPS16E_OPT}', '', d)}"
|
||||
|
||||
MIPSPKGSFX_MIPS16E .= "${@bb.utils.contains('TUNE_FEATURES', 'mips16e', '-m16', '', d) if d.getVar('MIPS_MIPS16E_OPT') == 'mips16' else ''}"
|
||||
|
||||
# Whether to compile with code to allow interworking between the two
|
||||
# instruction sets. This allows mips16e code to be executed on a primarily
|
||||
# mips32/64 system and vice versa. It is strongly recommended that DISTROs not
|
||||
# turn this off - the actual cost is very small.
|
||||
TUNEVALID[no-interlink-compressed] = "Disable mixing of standard and MIPS16e code"
|
||||
MIPS16_TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'no-interlink-compressed', ' -mno-interlink-compressed', ' -minterlink-compressed', d)}"
|
||||
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'mips16e', ' ${MIPS16_TUNE_CCARGS}', '', d)}"
|
||||
MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'mips16e', 'mips16e:', '', d)}"
|
||||
|
||||
# show status (if compiling in MIPS16e mode)
|
||||
BUILDCFG_VARS += "${@['', 'MIPS_INSTRUCTION_SET'][d.getVar('MIPS_INSTRUCTION_SET') == 'mips16e']}"
|
||||
@@ -0,0 +1,8 @@
|
||||
# For runqemu
|
||||
IMAGE_CLASSES += "qemuboot"
|
||||
QB_MACHINE = "-machine malta"
|
||||
QB_KERNEL_CMDLINE_APPEND = "console=ttyS0 console=tty"
|
||||
QB_OPT_APPEND = "-usb -device usb-tablet"
|
||||
|
||||
# For graphics to work we need to define the VGA device as well as the necessary USB devices
|
||||
QB_GRAPHICS = "-vga std"
|
||||
@@ -0,0 +1,51 @@
|
||||
DEFAULTTUNE ?= "mips32r2-24kc"
|
||||
|
||||
MIPSPKGSFX_MIPS16E ??= ""
|
||||
|
||||
require conf/machine/include/mips/tune-mips32r2.inc
|
||||
require conf/machine/include/mips/feature-mips-mips16e.inc
|
||||
|
||||
|
||||
TUNEVALID[24kc] = "Enable MIPS 24Kc processor optimizations"
|
||||
TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "24kc", " -mtune=24kc", "", d)}"
|
||||
TUNEVALID[24kec] = "Enable MIPS 24KEc processor optimizations, including DSP"
|
||||
TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "24kec", " -mtune=24kec -mdsp", "", d)}"
|
||||
|
||||
|
||||
AVAILTUNES += "mips32r2-24kc mips32r2-24kec mips32r2-24kec-m16"
|
||||
AVAILTUNES += "mips32r2el-24kc mips32r2el-24kec mips32r2el-24kec-m16"
|
||||
|
||||
# big endian: kc, kc+dsp=kec, kc+dsp+mips16e=kec-m16
|
||||
TUNE_FEATURES:tune-mips32r2-24kc = "${TUNE_FEATURES:tune-mips32r2-nf} 24kc"
|
||||
TUNE_FEATURES:tune-mips32r2-24kec = "${TUNE_FEATURES:tune-mips32r2-nf} 24kec"
|
||||
TUNE_FEATURES:tune-mips32r2-24kec-m16 = "${TUNE_FEATURES:tune-mips32r2-24kec} mips16e"
|
||||
|
||||
MIPSPKGSFX_VARIANT:tune-mips32r2-24kc = "mips32r2-24kc"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mips32r2-24kc = "${PACKAGE_EXTRA_ARCHS:tune-mips32r2-nf} mips32r2-24kc-nf"
|
||||
QEMU_EXTRAOPTIONS_mips32r2-24kc-nf = " -cpu 24Kc"
|
||||
|
||||
MIPSPKGSFX_VARIANT:tune-mips32r2-24kec = "mips32r2-24kec"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mips32r2-24kec = "${PACKAGE_EXTRA_ARCHS:tune-mips32r2-24kc} mips32r2-24kec-nf"
|
||||
QEMU_EXTRAOPTIONS_mips32r2-24kec-nf = " -cpu 24KEc"
|
||||
|
||||
MIPSPKGSFX_VARIANT:tune-mips32r2-24kec-m16 = "mips32r2-24kec${MIPSPKGSFX_MIPS16E}"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mips32r2-24kec-m16 = "${PACKAGE_EXTRA_ARCHS:tune-mips32r2-24kec} mips32r2-24kec-m16-nf"
|
||||
QEMU_EXTRAOPTIONS_mips32r2-24kec-m16-nf = " -cpu 24KEc"
|
||||
|
||||
|
||||
# little endian: kc, kc+dsp=kec, kc+dsp+mips16e=kec-m16
|
||||
TUNE_FEATURES:tune-mips32r2el-24kc = "${TUNE_FEATURES:tune-mips32r2el-nf} 24kc"
|
||||
TUNE_FEATURES:tune-mips32r2el-24kec = "${TUNE_FEATURES:tune-mips32r2el-nf} 24kec"
|
||||
TUNE_FEATURES:tune-mips32r2el-24kec-m16 = "${TUNE_FEATURES:tune-mips32r2el-24kec} mips16e"
|
||||
|
||||
MIPSPKGSFX_VARIANT:tune-mips32r2el-24kc = "mips32r2el-24kc"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mips32r2el-24kc = "${PACKAGE_EXTRA_ARCHS:tune-mips32r2el-nf} mips32r2el-24kc-nf"
|
||||
QEMU_EXTRAOPTIONS_mips32r2el-24kc-nf = " -cpu 24Kc"
|
||||
|
||||
MIPSPKGSFX_VARIANT:tune-mips32r2el-24kec = "mips32r2el-24kec"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mips32r2el-24kec = "${PACKAGE_EXTRA_ARCHS:tune-mips32r2el-24kc} mips32r2el-24kec-nf"
|
||||
QEMU_EXTRAOPTIONS_mips32r2el-24kec-nf = " -cpu 24KEc"
|
||||
|
||||
MIPSPKGSFX_VARIANT:tune-mips32r2el-24kec-m16 = "mips32r2el-24kec${MIPSPKGSFX_MIPS16E}"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mips32r2el-24kec-m16 = "${PACKAGE_EXTRA_ARCHS:tune-mips32r2el-24kec} mips32r2el-24kec-m16-nf"
|
||||
QEMU_EXTRAOPTIONS_mips32r2el-24kec-m16-nf = " -cpu 24KEc"
|
||||
@@ -0,0 +1,37 @@
|
||||
DEFAULTTUNE ?= "mips32r2-74kc"
|
||||
|
||||
MIPSPKGSFX_MIPS16E ??= ""
|
||||
|
||||
require conf/machine/include/mips/tune-mips32r2.inc
|
||||
require conf/machine/include/mips/feature-mips-mips16e.inc
|
||||
|
||||
|
||||
TUNEVALID[74kc] = "Enable MIPS 74K with DSPr2 processor optimizations"
|
||||
TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "74kc", " -mtune=74kc", "", d)}"
|
||||
|
||||
AVAILTUNES += "mips32r2-74kc mips32r2-74kc-m16"
|
||||
AVAILTUNES += "mips32r2el-74kc mips32r2el-74kc-m16"
|
||||
|
||||
# big endian: kc+dsp2=kc, kc+dsp2+mips16e=kc-m16
|
||||
TUNE_FEATURES:tune-mips32r2-74kc = "${TUNE_FEATURES:tune-mips32r2-nf} 74kc"
|
||||
TUNE_FEATURES:tune-mips32r2-74kc-m16 = "${TUNE_FEATURES:tune-mips32r2-74kc} mips16e"
|
||||
|
||||
MIPSPKGSFX_VARIANT:tune-mips32r2-74kc = "mips32r2-74kc"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mips32r2-74kc = "${PACKAGE_EXTRA_ARCHS:tune-mips32r2-nf} mips32r2-74kc-nf"
|
||||
QEMU_EXTRAOPTIONS_mips32r2-74kc-nf = " -cpu 24Kc"
|
||||
|
||||
MIPSPKGSFX_VARIANT:tune-mips32r2-74kc-m16 = "mips32r2-74kc${MIPSPKGSFX_MIPS16E}"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mips32r2-74kc-m16 = "${PACKAGE_EXTRA_ARCHS:tune-mips32r2-74kc} mips32r2-74kc-m16-nf"
|
||||
QEMU_EXTRAOPTIONS_mips32r2-74kc-m16-nf = " -cpu 24KEc"
|
||||
|
||||
# little endian: kc+dsp2=kc, kc+dsp2+mips16e=kc-m16
|
||||
TUNE_FEATURES:tune-mips32r2el-74kc = "${TUNE_FEATURES:tune-mips32r2el-nf} 74kc"
|
||||
TUNE_FEATURES:tune-mips32r2el-74kc-m16 = "${TUNE_FEATURES:tune-mips32r2el-74kc} mips16e"
|
||||
|
||||
MIPSPKGSFX_VARIANT:tune-mips32r2el-74kc = "mips32r2el-74kc"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mips32r2el-74kc = "${PACKAGE_EXTRA_ARCHS:tune-mips32r2el-nf} mips32r2el-74kc-nf"
|
||||
QEMU_EXTRAOPTIONS_mips32r2el-74kc-nf = " -cpu 24Kc"
|
||||
|
||||
MIPSPKGSFX_VARIANT:tune-mips32r2el-74kc-m16 = "mips32r2el-74kc${MIPSPKGSFX_MIPS16E}"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mips32r2el-74kc-m16 = "${PACKAGE_EXTRA_ARCHS:tune-mips32r2el-74kc} mips32r2el-74kc-m16-nf"
|
||||
QEMU_EXTRAOPTIONS_mips32r2el-74kc-m16-nf = " -cpu 24KEc"
|
||||
29
sources/poky/meta/conf/machine/include/mips/tune-mips32.inc
Normal file
29
sources/poky/meta/conf/machine/include/mips/tune-mips32.inc
Normal file
@@ -0,0 +1,29 @@
|
||||
DEFAULTTUNE ?= "mips32"
|
||||
|
||||
require conf/machine/include/mips/arch-mips.inc
|
||||
|
||||
TUNEVALID[mips32] = "Enable mips32 specific processor optimizations"
|
||||
TUNECONFLICTS[mips32] = "n64 n32"
|
||||
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'mips32', ' -march=mips32', '', d)}"
|
||||
|
||||
# Base Tunes (Hard Float)
|
||||
AVAILTUNES += "mips32 mips32el"
|
||||
|
||||
TUNE_FEATURES:tune-mips32 = "${TUNE_FEATURES:tune-mips} mips32"
|
||||
MIPSPKGSFX_VARIANT:tune-mips32 = "mips32"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mips32 = "mips mips32"
|
||||
|
||||
TUNE_FEATURES:tune-mips32el = "${TUNE_FEATURES:tune-mipsel} mips32"
|
||||
MIPSPKGSFX_VARIANT:tune-mips32el = "mips32el"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mips32el = "mipsel mips32el"
|
||||
|
||||
# Soft Float
|
||||
AVAILTUNES += "mips32-nf mips32el-nf"
|
||||
|
||||
TUNE_FEATURES:tune-mips32-nf = "${TUNE_FEATURES:tune-mips-nf} mips32"
|
||||
MIPSPKGSFX_VARIANT:tune-mips32-nf = "mips32"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mips32-nf = "mips-nf mips32-nf"
|
||||
|
||||
TUNE_FEATURES:tune-mips32el-nf = "${TUNE_FEATURES:tune-mipsel-nf} mips32"
|
||||
MIPSPKGSFX_VARIANT:tune-mips32el-nf = "mips32el"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mips32el-nf = "mipsel-nf mips32el-nf"
|
||||
@@ -0,0 +1,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"
|
||||
@@ -0,0 +1,29 @@
|
||||
DEFAULTTUNE ?= "mipsisa32r6el"
|
||||
|
||||
require conf/machine/include/mips/arch-mips.inc
|
||||
|
||||
TUNEVALID[mipsisa32r6] = "Enable mipsisa32r6 specific processor optimizations"
|
||||
TUNECONFLICTS[mipsisa32r6] = "n64 n32"
|
||||
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'mipsisa32r6', ' -march=mips32r6', '', d)}"
|
||||
|
||||
# Base Tunes (Hard Float)
|
||||
AVAILTUNES += "mipsisa32r6 mipsisa32r6el"
|
||||
|
||||
TUNE_FEATURES:tune-mipsisa32r6 = "o32 bigendian mipsisa32r6 fpu-hard r6"
|
||||
MIPSPKGSFX_VARIANT:tune-mipsisa32r6 = "${TUNE_ARCH}"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mipsisa32r6 = "mipsisa32r6"
|
||||
|
||||
TUNE_FEATURES:tune-mipsisa32r6el = "o32 fpu-hard mipsisa32r6 r6"
|
||||
MIPSPKGSFX_VARIANT:tune-mipsisa32r6el = "${TUNE_ARCH}"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mipsisa32r6el = "mipsisa32r6el"
|
||||
|
||||
# Soft Float
|
||||
AVAILTUNES += "mipsisa32r6-nf mipsisa32r6el-nf"
|
||||
|
||||
TUNE_FEATURES:tune-mipsisa32r6-nf = "o32 bigendian mipsisa32r6 r6"
|
||||
MIPSPKGSFX_VARIANT:tune-mipsisa32r6-nf = "${TUNE_ARCH}"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mipsisa32r6-nf = "mipsisa32r6-nf"
|
||||
|
||||
TUNE_FEATURES:tune-mipsisa32r6el-nf = "o32 mipsisa32r6 r6"
|
||||
MIPSPKGSFX_VARIANT:tune-mipsisa32r6el-nf = "${TUNE_ARCH}"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mipsisa32r6el-nf = "mipsisa32r6el-nf"
|
||||
@@ -0,0 +1,3 @@
|
||||
DEFAULTTUNE ?= "mips64"
|
||||
|
||||
require conf/machine/include/mips/tune-mips32r2.inc
|
||||
@@ -0,0 +1,96 @@
|
||||
DEFAULTTUNE ?= "mips64r2"
|
||||
|
||||
require conf/machine/include/mips/tune-mips64.inc
|
||||
|
||||
TUNEVALID[mips64r2] = "Enable mips64r2 specific processor optimizations"
|
||||
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'mips64r2', ' -march=mips64r2', '', d)}"
|
||||
|
||||
# Base tunes
|
||||
AVAILTUNES += "mips64r2 mips64r2el"
|
||||
|
||||
TUNE_FEATURES:tune-mips64r2 = "${TUNE_FEATURES:tune-mips64} mips64r2"
|
||||
BASE_LIB:tune-mips64r2 = "lib64"
|
||||
MIPSPKGSFX_VARIANT:tune-mips64r2 = "mips64r2"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mips64r2 = "mips64 mips64r2"
|
||||
QEMU_EXTRAOPTIONS_mips64r2 = " -cpu MIPS64R2-generic"
|
||||
|
||||
TUNE_FEATURES:tune-mips64r2el = "${TUNE_FEATURES:tune-mips64el} mips64r2"
|
||||
BASE_LIB:tune-mips64r2el = "lib64"
|
||||
MIPSPKGSFX_VARIANT:tune-mips64r2el = "mips64r2el"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mips64r2el = "mips64el mips64r2el"
|
||||
QEMU_EXTRAOPTIONS_mips64r2el = " -cpu MIPS64R2-generic"
|
||||
|
||||
# MIPS 64r2 Soft Float
|
||||
AVAILTUNES += "mips64r2-nf mips64r2el-nf"
|
||||
|
||||
TUNE_FEATURES:tune-mips64r2-nf = "${TUNE_FEATURES:tune-mips64-nf} mips64r2"
|
||||
BASE_LIB:tune-mips64r2-nf = "lib64"
|
||||
MIPSPKGSFX_VARIANT:tune-mips64r2-nf = "${TUNE_ARCH}"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mips64r2-nf = "mips64-nf mips64r2-nf"
|
||||
QEMU_EXTRAOPTIONS_mips64r2-nf = " -cpu MIPS64R2-generic"
|
||||
|
||||
TUNE_FEATURES:tune-mips64r2el-nf = "${TUNE_FEATURES:tune-mips64el-nf} mips64r2"
|
||||
BASE_LIB:tune-mips64r2el-nf = "lib64"
|
||||
MIPSPKGSFX_VARIANT:tune-mips64r2el-nf = "${TUNE_ARCH}"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mips64r2el-nf = "mips64el-nf mips64r2el-nf"
|
||||
QEMU_EXTRAOPTIONS_mips64r2el-nf = " -cpu MIPS64R2-generic"
|
||||
|
||||
# MIPS 64r2 n32
|
||||
AVAILTUNES += "mips64r2-n32 mips64r2el-n32"
|
||||
|
||||
TUNE_FEATURES:tune-mips64r2-n32 = "${TUNE_FEATURES:tune-mips64-n32} mips64r2"
|
||||
BASE_LIB:tune-mips64r2-n32 = "lib32"
|
||||
MIPSPKGSFX_VARIANT:tune-mips64r2-n32 = "${TUNE_ARCH}"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mips64r2-n32 = "mips64-n32 mips64r2-n32"
|
||||
QEMU_EXTRAOPTIONS_mips64r2-n32 = " -cpu MIPS64R2-generic"
|
||||
|
||||
TUNE_FEATURES:tune-mips64r2el-n32 = "${TUNE_FEATURES:tune-mips64el-n32} mips64r2"
|
||||
BASE_LIB:tune-mips64r2el-n32 = "lib32"
|
||||
MIPSPKGSFX_VARIANT:tune-mips64r2el-n32 = "${TUNE_ARCH}"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mips64r2el-n32 = "mips64el-n32 mips64r2el-n32"
|
||||
QEMU_EXTRAOPTIONS_mips64r2el-n32 = " -cpu MIPS64R2-generic"
|
||||
|
||||
# MIPS 64r2 n32 and Soft Float
|
||||
AVAILTUNES += "mips64r2-nf-n32 mips64r2el-nf-n32"
|
||||
|
||||
TUNE_FEATURES:tune-mips64r2-nf-n32 = "${TUNE_FEATURES:tune-mips64-nf-n32} mips64r2"
|
||||
BASE_LIB:tune-mips64r2-nf-n32 = "lib32"
|
||||
MIPSPKGSFX_VARIANT:tune-mips64r2-nf-n32 = "${TUNE_ARCH}"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mips64r2-nf-n32 = "mips64-nf-n32 mips64r2-nf-n32"
|
||||
QEMU_EXTRAOPTIONS_mips64r2-nf-n32 = " -cpu MIPS64R2-generic"
|
||||
|
||||
TUNE_FEATURES:tune-mips64r2el-nf-n32 = "${TUNE_FEATURES:tune-mips64el-nf-n32} mips64r2"
|
||||
BASE_LIB:tune-mips64r2el-nf-n32 = "lib32"
|
||||
MIPSPKGSFX_VARIANT:tune-mips64r2el-nf-n32 = "${TUNE_ARCH}"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mips64r2el-nf-n32 = "mips64el-nf-n32 mips64r2el-nf-n32"
|
||||
QEMU_EXTRAOPTIONS_mips64r2el-nf-32 = " -cpu MIPS64R2-generic"
|
||||
|
||||
# MIPS 64r2 o32
|
||||
AVAILTUNES += "mips64r2-o32 mips64r2el-o32"
|
||||
|
||||
TUNE_FEATURES:tune-mips64r2-o32 = "${TUNE_FEATURES:tune-mips64-o32} mips64r2"
|
||||
BASE_LIB:tune-mips64r2-o32 = "lib"
|
||||
MIPSPKGSFX_VARIANT:tune-mips64r2-o32 = "${TUNE_ARCH}"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mips64r2-o32 = "mips mips64-o32 mips64r2-o32"
|
||||
QEMU_EXTRAOPTIONS_mips64r2-o32 = " -cpu MIPS64R2-generic"
|
||||
|
||||
TUNE_FEATURES:tune-mips64r2el-o32 = "${TUNE_FEATURES:tune-mips64el-o32} mips64r2"
|
||||
BASE_LIB:tune-mips64r2el-o32 = "lib"
|
||||
MIPSPKGSFX_VARIANT:tune-mips64r2el-o32 = "${TUNE_ARCH}"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mips64r2el-o32 = "mipsel mips64el-o32 mips64r2el-o32"
|
||||
QEMU_EXTRAOPTIONS_mips64r2el-o32 = " -cpu MIPS64R2-generic"
|
||||
|
||||
# MIPS 64r2 o32 and Soft Float
|
||||
AVAILTUNES += "mips64r2-nf-o32 mips64r2el-nf-o32"
|
||||
|
||||
TUNE_FEATURES:tune-mips64r2-nf-o32 = "${TUNE_FEATURES:tune-mips64-nf-o32} mips64r2"
|
||||
BASE_LIB:tune-mips64r2-nf-o32 = "lib"
|
||||
MIPSPKGSFX_VARIANT:tune-mips64r2-nf-o32 = "${TUNE_ARCH}"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mips64r2-nf-o32 = "mips-nf mips64r2-nf-o32"
|
||||
QEMU_EXTRAOPTIONS_mips64r2-nf-o32 = " -cpu MIPS64R2-generic"
|
||||
|
||||
TUNE_FEATURES:tune-mips64r2el-nf-o32 = "${TUNE_FEATURES:tune-mips64el-nf-o32} mips64r2"
|
||||
BASE_LIB:tune-mips64r2el-nf-o32 = "lib"
|
||||
MIPSPKGSFX_VARIANT:tune-mips64r2el-nf-o32 = "${TUNE_ARCH}"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mips64r2el-nf-o32 = "mipsel-nf mips64r2el-nf-o32"
|
||||
QEMU_EXTRAOPTIONS_mips64r2el-nf-o32 = " -cpu MIPS64R2-generic"
|
||||
@@ -0,0 +1,58 @@
|
||||
DEFAULTTUNE ?= "mipsisa64r6el"
|
||||
|
||||
require conf/machine/include/mips/arch-mips.inc
|
||||
|
||||
TUNEVALID[mipsisa64r6] = "Enable mipsisa64r6 specific processor optimizations"
|
||||
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'mipsisa64r6', ' -march=mips64r6', '', d)}"
|
||||
|
||||
# Base Tunes
|
||||
AVAILTUNES += "mipsisa64r6 mipsisa64r6el"
|
||||
|
||||
TUNE_FEATURES:tune-mipsisa64r6 = "bigendian fpu-hard n64 mipsisa64r6 r6"
|
||||
MIPSPKGSFX_VARIANT:tune-mipsisa64r6 = "${TUNE_ARCH}"
|
||||
BASE_LIB:tune-mipsisa64r6 = "lib64"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mipsisa64r6 = "mipsisa64r6"
|
||||
|
||||
TUNE_FEATURES:tune-mipsisa64r6el = "fpu-hard r6 n64 mipsisa64r6"
|
||||
MIPSPKGSFX_VARIANT:tune-mipsisa64r6el = "${TUNE_ARCH}"
|
||||
BASE_LIB:tune-mipsisa64r6el = "lib64"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mipsisa64r6el = "mipsisa64r6el"
|
||||
|
||||
# Soft Float
|
||||
AVAILTUNES += "mipsisa64r6-nf mipsisa64r6el-nf"
|
||||
|
||||
TUNE_FEATURES:tune-mipsisa64r6-nf = "bigendian r6 n64 mipsisa64r6"
|
||||
MIPSPKGSFX_VARIANT:tune-mipsisa64r6-nf = "${TUNE_ARCH}"
|
||||
BASE_LIB:tune-mipsisa64r6-nf = "lib64"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mipsisa64r6-nf = "mipsisa64r6-nf"
|
||||
|
||||
TUNE_FEATURES:tune-mipsisa64r6el-nf = "r6 n64 mipsisa64r6"
|
||||
MIPSPKGSFX_VARIANT:tune-mipsisa64r6el-nf = "${TUNE_ARCH}"
|
||||
BASE_LIB:tune-mipsisa64r6el-nf = "lib64"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mipsisa64r6el-nf = "mipsisa64r6el-nf"
|
||||
|
||||
# MIPS 64r6 n32
|
||||
AVAILTUNES += "mipsisa64r6-n32 mipsisa64r6el-n32"
|
||||
|
||||
TUNE_FEATURES:tune-mipsisa64r6-n32 = "bigendian fpu-hard r6 n32 mipsisa64r6"
|
||||
BASE_LIB:tune-mipsisa64r6-n32 = "lib32"
|
||||
MIPSPKGSFX_VARIANT:tune-mipsisa64r6-n32 = "${TUNE_ARCH}"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mipsisa64r6-n32 = "mipsisa64r6-n32"
|
||||
|
||||
TUNE_FEATURES:tune-mipsisa64r6el-n32 = "fpu-hard r6 n32 mipsisa64r6"
|
||||
BASE_LIB:tune-mipsisa64r6el-n32 = "lib32"
|
||||
MIPSPKGSFX_VARIANT:tune-mipsisa64r6el-n32 = "${TUNE_ARCH}"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mipsisa64r6el-n32 = "mipsisa64r6el-n32"
|
||||
|
||||
# MIPS 64r6 n32 and Soft Float
|
||||
AVAILTUNES += "mipsisa64r6-nf-n32 mipsisa64r6el-nf-n32"
|
||||
|
||||
TUNE_FEATURES:tune-mipsisa64r6-nf-n32 = "bigendian r6 n32 mipsisa64r6"
|
||||
BASE_LIB:tune-mipsisa64r6-nf-n32 = "lib32"
|
||||
MIPSPKGSFX_VARIANT:tune-mipsisa64r6-nf-n32 = "${TUNE_ARCH}"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mipsisa64r6-nf-n32 = "mipsisa64r6-nf-n32"
|
||||
|
||||
TUNE_FEATURES:tune-mipsisa64r6el-nf-n32 = "r6 n32 mipsisa64r6"
|
||||
BASE_LIB:tune-mipsisa64r6el-nf-n32 = "lib32"
|
||||
MIPSPKGSFX_VARIANT:tune-mipsisa64r6el-nf-n32 = "${TUNE_ARCH}"
|
||||
PACKAGE_EXTRA_ARCHS:tune-mipsisa64r6el-nf-n32 = "mipsisa64r6el-nf-n32"
|
||||
32
sources/poky/meta/conf/machine/include/mips/tune-octeon.inc
Normal file
32
sources/poky/meta/conf/machine/include/mips/tune-octeon.inc
Normal file
@@ -0,0 +1,32 @@
|
||||
DEFAULTTUNE ?="octeon2"
|
||||
|
||||
require conf/machine/include/mips/tune-mips64.inc
|
||||
|
||||
AVAILTUNES += "octeon2 octeon2_64 octeon3 octeon3_64"
|
||||
|
||||
TUNEVALID[octeon2] = "Enable optimization related to octeon2 support"
|
||||
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'octeon2', ' -march=octeon2 ', '',d)}"
|
||||
|
||||
TUNE_FEATURES:tune-octeon2 = "${TUNE_FEATURES:tune-mips64-n32} octeon2"
|
||||
BASE_LIB:tune-octeon2 = "lib32"
|
||||
MIPSPKGSFX_VARIANT:tune-octeon2 = "octeon2"
|
||||
PACKAGE_EXTRA_ARCHS:tune-octeon2 = "mips64-n32 octeon2-n32"
|
||||
|
||||
TUNE_FEATURES:tune-octeon2_64 = "${TUNE_FEATURES:tune-mips64} octeon2"
|
||||
BASE_LIB:tune-octeon2_64 = "lib64"
|
||||
MIPSPKGSFX_VARIANT:tune-octeon2_64 = "octeon2_64"
|
||||
PACKAGE_EXTRA_ARCHS:tune-octeon2_64 = "mips64 octeon2_64"
|
||||
|
||||
|
||||
TUNEVALID[octeon3] = "Enable optimization related to octeon3 support"
|
||||
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'octeon3', ' -march=octeon3 ', '',d)}"
|
||||
|
||||
TUNE_FEATURES:tune-octeon3 = "${TUNE_FEATURES:tune-mips64-n32} octeon3"
|
||||
BASE_LIB:tune-octeon3 = "lib32"
|
||||
MIPSPKGSFX_VARIANT:tune-octeon3 = "octeon3"
|
||||
PACKAGE_EXTRA_ARCHS:tune-octeon3 = "mips64-n32 octeon3-n32"
|
||||
|
||||
TUNE_FEATURES:tune-octeon3_64 = "${TUNE_FEATURES:tune-mips64} octeon3"
|
||||
BASE_LIB:tune-octeon3_64 = "lib64"
|
||||
MIPSPKGSFX_VARIANT:tune-octeon3_64 = "octeon3_64"
|
||||
PACKAGE_EXTRA_ARCHS:tune-octeon3_64 = "mips64 octeon3_64"
|
||||
Reference in New Issue
Block a user