[oe-commits] Tom Rini : canadian sdk: Update pr33281 to patch configure too, add gcc 4.2 .4

GIT User account git at amethyst.openembedded.net
Thu Jan 1 18:35:44 UTC 2009


Module: openembedded.git
Branch: trini/canadian-sdk
Commit: 4e01b070c54f040630823374c2e022ed678155cd
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=4e01b070c54f040630823374c2e022ed678155cd

Author: Tom Rini <trini at embeddedalley.com>
Date:   Thu Jan  1 13:33:31 2009 -0500

canadian sdk: Update pr33281 to patch configure too, add gcc 4.2.4

---

 .../gcc/files/pr33281-mingw-host-fragment.patch    |   15 +++++++++-
 packages/gcc/gcc-canadian-sdk_4.2.2.bb             |    4 ++-
 packages/gcc/gcc-canadian-sdk_4.2.3.bb             |    4 ++-
 packages/gcc/gcc-canadian-sdk_4.2.4.bb             |   31 ++++++++++++++++++++
 4 files changed, 51 insertions(+), 3 deletions(-)

diff --git a/packages/gcc/files/pr33281-mingw-host-fragment.patch b/packages/gcc/files/pr33281-mingw-host-fragment.patch
index fd71bbd..e16fb44 100644
--- a/packages/gcc/files/pr33281-mingw-host-fragment.patch
+++ b/packages/gcc/files/pr33281-mingw-host-fragment.patch
@@ -1,7 +1,8 @@
 ---
  config/mh-mingw |    3 +++
+ configure       |    1 +
  configure.in    |    1 +
- 2 files changed, 4 insertions(+)
+ 3 files changed, 5 insertions(+)
 
 Index: gcc-4.2.3/config/mh-mingw
 ===================================================================
@@ -23,3 +24,15 @@ Index: gcc-4.2.3/configure.in
      ;;
    *-interix*)
      host_makefile_frag="config/mh-interix"
+Index: gcc-4.2.3/configure
+===================================================================
+--- gcc-4.2.3.orig/configure
++++ gcc-4.2.3/configure
+@@ -1769,6 +1769,7 @@ case "${host}" in
+     host_makefile_frag="config/mh-cygwin"
+     ;;
+   *-mingw32*)
++    host_makefile_frag="config/mh-mingw"
+     ;;
+   *-interix*)
+     host_makefile_frag="config/mh-interix"
diff --git a/packages/gcc/gcc-canadian-sdk_4.2.2.bb b/packages/gcc/gcc-canadian-sdk_4.2.2.bb
index b179815..03d9ae3 100644
--- a/packages/gcc/gcc-canadian-sdk_4.2.2.bb
+++ b/packages/gcc/gcc-canadian-sdk_4.2.2.bb
@@ -15,7 +15,9 @@ require gcc-configure-canadian-sdk.inc
 require gcc-package-canadian-sdk.inc
 
 SRC_URI_append = "file://fortran-cross-compile-hack.patch;patch=1 \
-		  file://gcc-4.2-mingw-path-fixups.patch;patch=1"
+		  file://pr22133-mingw-path-fixup.patch;patch=1 \
+		  file://pr33281-mingw-host-fragment.patch;patch=1 \
+		  file://pr35916-mingw-__USE_MINGW_ACCESS-everywhere.patch;patch=1"
 
 ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR}"
 
diff --git a/packages/gcc/gcc-canadian-sdk_4.2.3.bb b/packages/gcc/gcc-canadian-sdk_4.2.3.bb
index b179815..03d9ae3 100644
--- a/packages/gcc/gcc-canadian-sdk_4.2.3.bb
+++ b/packages/gcc/gcc-canadian-sdk_4.2.3.bb
@@ -15,7 +15,9 @@ require gcc-configure-canadian-sdk.inc
 require gcc-package-canadian-sdk.inc
 
 SRC_URI_append = "file://fortran-cross-compile-hack.patch;patch=1 \
-		  file://gcc-4.2-mingw-path-fixups.patch;patch=1"
+		  file://pr22133-mingw-path-fixup.patch;patch=1 \
+		  file://pr33281-mingw-host-fragment.patch;patch=1 \
+		  file://pr35916-mingw-__USE_MINGW_ACCESS-everywhere.patch;patch=1"
 
 ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR}"
 
diff --git a/packages/gcc/gcc-canadian-sdk_4.2.4.bb b/packages/gcc/gcc-canadian-sdk_4.2.4.bb
new file mode 100644
index 0000000..03d9ae3
--- /dev/null
+++ b/packages/gcc/gcc-canadian-sdk_4.2.4.bb
@@ -0,0 +1,31 @@
+inherit canadian-sdk
+
+PR = "r1"
+
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}"
+
+PACKAGES = "${PN}"
+
+require gcc-${PV}.inc
+
+# Correct gmp / mpfr
+DEPENDS = "gmp-canadian mpfr-canadian"
+
+require gcc-configure-canadian-sdk.inc
+require gcc-package-canadian-sdk.inc
+
+SRC_URI_append = "file://fortran-cross-compile-hack.patch;patch=1 \
+		  file://pr22133-mingw-path-fixup.patch;patch=1 \
+		  file://pr33281-mingw-host-fragment.patch;patch=1 \
+		  file://pr35916-mingw-__USE_MINGW_ACCESS-everywhere.patch;patch=1"
+
+ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR}"
+
+
+SRC_URI_append =+ "\
+	file://canadian-build-modules-configure.patch;patch=1 \
+"
+
+EXTRA_OECONF += "--disable-libunwind-exceptions --disable-libssp \
+		--disable-libgomp --disable-libmudflap \
+		--with-mpfr=${STAGING_LIBDIR}"





More information about the Openembedded-commits mailing list