mirror of
https://git.yoctoproject.org/poky
synced 2026-09-15 06:49:33 +02:00
Add basic Mips core tune config
Acked-by: Mark Hatle <mark.hatle@windriver.com> (From OE-Core rev: b33cdc23c04acfa55df0f764e1648bf030ae5e9c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -1,4 +1,11 @@
|
||||
DEFAULTTUNE ?= "mips32"
|
||||
|
||||
require conf/machine/include/mips/arch-mips.inc
|
||||
|
||||
TUNE_CCARGS = "-march=mips32"
|
||||
TUNE_PKGARCH = "mips"
|
||||
TUNEVALID[mips32] = "Enable mips32 specific processor optimizations"
|
||||
TUNE_CONFLICTS[mips32] = "n64 n32"
|
||||
TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "mips32", "-march=mips32", "", d)}"
|
||||
|
||||
AVAILTUNES += "mips32"
|
||||
TUNE_FEATURES_tune-mips32 = "${TUNE_FEATURES_tune-mips} mips32"
|
||||
PACKAGE_EXTRA_ARCHS_tune-mips32 = "mips"
|
||||
|
||||
Reference in New Issue
Block a user