Patchwork mips32: add mips32el tuning

login
register
mail settings
Submitter Phil Blundell
Date Aug. 19, 2011, 4:55 p.m.
Message ID <1313772909.6733.306.camel@phil-desktop>
Download mbox | patch
Permalink /patch/10289/
State New, archived
Headers show

Comments

Phil Blundell - Aug. 19, 2011, 4:55 p.m.
This makes building for little-endian mips32 slightly more convenient.

Signed-off-by: Phil Blundell <philb@gnu.org>
---
 meta/conf/machine/include/tune-mips32.inc |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
Saul Wold - Aug. 24, 2011, 10:47 p.m.
On 08/19/2011 09:55 AM, Phil Blundell wrote:
> This makes building for little-endian mips32 slightly more convenient.
>
> Signed-off-by: Phil Blundell<philb@gnu.org>
> ---
>   meta/conf/machine/include/tune-mips32.inc |    5 ++++-
>   1 files changed, 4 insertions(+), 1 deletions(-)
>
> diff --git a/meta/conf/machine/include/tune-mips32.inc b/meta/conf/machine/include/tune-mips32.inc
> index 45792d8..4a5f0fa 100644
> --- a/meta/conf/machine/include/tune-mips32.inc
> +++ b/meta/conf/machine/include/tune-mips32.inc
> @@ -6,6 +6,9 @@ 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"
> +AVAILTUNES += "mips32 mips32el"
>   TUNE_FEATURES_tune-mips32 = "${TUNE_FEATURES_tune-mips} mips32"
>   PACKAGE_EXTRA_ARCHS_tune-mips32 = "mips"
> +TUNE_FEATURES_tune-mips32el = "${TUNE_FEATURES_tune-mipsel} mips32"
> +PACKAGE_EXTRA_ARCHS_tune-mips32el = "mipsel"
> +

Merged into OE-Core

Thanks
	Sau!

Patch

diff --git a/meta/conf/machine/include/tune-mips32.inc b/meta/conf/machine/include/tune-mips32.inc
index 45792d8..4a5f0fa 100644
--- a/meta/conf/machine/include/tune-mips32.inc
+++ b/meta/conf/machine/include/tune-mips32.inc
@@ -6,6 +6,9 @@  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"
+AVAILTUNES += "mips32 mips32el"
 TUNE_FEATURES_tune-mips32 = "${TUNE_FEATURES_tune-mips} mips32"
 PACKAGE_EXTRA_ARCHS_tune-mips32 = "mips"
+TUNE_FEATURES_tune-mips32el = "${TUNE_FEATURES_tune-mipsel} mips32"
+PACKAGE_EXTRA_ARCHS_tune-mips32el = "mipsel"
+