[poky] [PATCH 03/25] gcc: crosssdk unset TARGET_FPU

Adrian Alonso aalonso at secretlab.ca
Mon Jan 17 12:29:16 PST 2011


* Configure fails due that --with-float=soft
  flag isn't supportted by powerpc arch
* Unsetting TARGET_FPU this flag to not try to use
  this flag
* crosssdk disable decimal point support

Signed-off-by: Adrian Alonso <aalonso at secretlab.ca>
---
 .../gcc/gcc-crosssdk-initial_4.5.1.bbappend        |    7 +++++++
 .../gcc/gcc-crosssdk-intermediate_4.5.1.bbappend   |    7 +++++++
 recipes-devtools/gcc/gcc-crosssdk_4.5.1.bbappend   |    8 ++++++++
 3 files changed, 22 insertions(+), 0 deletions(-)
 create mode 100644 recipes-devtools/gcc/gcc-crosssdk-initial_4.5.1.bbappend
 create mode 100644 recipes-devtools/gcc/gcc-crosssdk-intermediate_4.5.1.bbappend
 create mode 100644 recipes-devtools/gcc/gcc-crosssdk_4.5.1.bbappend

diff --git a/recipes-devtools/gcc/gcc-crosssdk-initial_4.5.1.bbappend b/recipes-devtools/gcc/gcc-crosssdk-initial_4.5.1.bbappend
new file mode 100644
index 0000000..9bb8f77
--- /dev/null
+++ b/recipes-devtools/gcc/gcc-crosssdk-initial_4.5.1.bbappend
@@ -0,0 +1,7 @@
+# Unset TARGET_FPU --with-float=soft flag not supported for powerpc targets
+# --with-float=soft
+
+THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
+FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
+
+TARGET_FPU=""
diff --git a/recipes-devtools/gcc/gcc-crosssdk-intermediate_4.5.1.bbappend b/recipes-devtools/gcc/gcc-crosssdk-intermediate_4.5.1.bbappend
new file mode 100644
index 0000000..9bb8f77
--- /dev/null
+++ b/recipes-devtools/gcc/gcc-crosssdk-intermediate_4.5.1.bbappend
@@ -0,0 +1,7 @@
+# Unset TARGET_FPU --with-float=soft flag not supported for powerpc targets
+# --with-float=soft
+
+THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
+FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
+
+TARGET_FPU=""
diff --git a/recipes-devtools/gcc/gcc-crosssdk_4.5.1.bbappend b/recipes-devtools/gcc/gcc-crosssdk_4.5.1.bbappend
new file mode 100644
index 0000000..35eab60
--- /dev/null
+++ b/recipes-devtools/gcc/gcc-crosssdk_4.5.1.bbappend
@@ -0,0 +1,8 @@
+# Unset TARGET_FPU --with-float=soft flag not supported for powerpc targets
+# --with-float=soft
+
+THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
+FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
+
+TARGET_FPU=""
+EXTRA_OECONF += " --disable-decimal-float"
-- 
1.7.3.4




More information about the poky mailing list