diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-26 12:32:29 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-27 15:43:48 +0100 |
commit | b33cdc23c04acfa55df0f764e1648bf030ae5e9c (patch) | |
tree | f51332007b71dee70914d7c3130f19d3a0ef508c /meta/conf/machine/include/tune-mips32.inc | |
parent | 789dcb8e68a2ab9784ac10ab36815010c61af2fc (diff) | |
download | openembedded-core-b33cdc23c04acfa55df0f764e1648bf030ae5e9c.tar.gz openembedded-core-b33cdc23c04acfa55df0f764e1648bf030ae5e9c.tar.bz2 openembedded-core-b33cdc23c04acfa55df0f764e1648bf030ae5e9c.tar.xz openembedded-core-b33cdc23c04acfa55df0f764e1648bf030ae5e9c.zip |
Add basic Mips core tune config
Acked-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine/include/tune-mips32.inc')
-rw-r--r-- | meta/conf/machine/include/tune-mips32.inc | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/meta/conf/machine/include/tune-mips32.inc b/meta/conf/machine/include/tune-mips32.inc index 28b00479e..45792d8fc 100644 --- a/meta/conf/machine/include/tune-mips32.inc +++ b/meta/conf/machine/include/tune-mips32.inc @@ -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" |