Skip to contentSkip to conversation

tune-mips32.inc: Add mips32-nf and mips32el-nf

PATCH Applied Andreas Oberritter 2 participants 2 messages Feb 2, 2012 – Feb 8, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tune-mips32.inc: Add mips32-nf and mips32el-nf

tune-mips32.inc only lists mips32 CPUs with hardware FPU. Extend it to list CPUs without hardware FPU, too.

---
 meta/conf/machine/include/tune-mips32.inc |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
meta/conf/machine/include/tune-mips32.inc +5 -1
index 4a5f0fa..45d865e 100644
@@ -6,9 +6,13 @@ 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 mips32el"
+AVAILTUNES += "mips32 mips32el mips32-nf mips32el-nf"
 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"
+TUNE_FEATURES_tune-mips32-nf = "${TUNE_FEATURES_tune-mips-nf} mips32"
+PACKAGE_EXTRA_ARCHS_tune-mips32-nf = "mips-nf"
+TUNE_FEATURES_tune-mips32el-nf = "${TUNE_FEATURES_tune-mipsel-nf} mips32"
+PACKAGE_EXTRA_ARCHS_tune-mips32el-nf = "mipsel-nf"
 
Signature · 1 line
1.7.5.4
Applied
#1 lore raw
Quoted 17 lines · Andreas Oberritter

tune-mips32.inc only lists mips32 CPUs with hardware FPU. Extend it to list CPUs without hardware FPU, too.

---
  meta/conf/machine/include/tune-mips32.inc |    6 +++++-
  1 files changed, 5 insertions(+), 1 deletions(-)
meta/conf/machine/include/tune-mips32.inc +0 -1
index 4a5f0fa..45d865e 100644
@@ -6,9 +6,13 @@ 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 mips32el"

meta/conf/machine/include/tune-mips32.inc TUNEVALID[mips32] = "Enable mips32 specific processor optimizations" · line 18

Quoted 10 lines
meta/conf/machine/include/tune-mips32.inc +5 -0
+AVAILTUNES += "mips32 mips32el mips32-nf mips32el-nf"
  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"
+TUNE_FEATURES_tune-mips32-nf = "${TUNE_FEATURES_tune-mips-nf} mips32"
+PACKAGE_EXTRA_ARCHS_tune-mips32-nf = "mips-nf"
+TUNE_FEATURES_tune-mips32el-nf = "${TUNE_FEATURES_tune-mipsel-nf} mips32"
+PACKAGE_EXTRA_ARCHS_tune-mips32el-nf = "mipsel-nf"
 

Merged into OE-core

Thanks
Sau!