Patchwork [CONSOLIDATED,PULL,3/6] mips32: add mips32el tuning

login
register
mail settings
Submitter Saul Wold
Date Aug. 24, 2011, 3:50 p.m.
Message ID <cd5b601bb2149cbc866dc32b46f4058d3284fb00.1314200868.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/10489/
State New, archived
Headers show

Comments

Saul Wold - Aug. 24, 2011, 3:50 p.m.
From: Phil Blundell <philb@gnu.org>

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(-)

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"
+