diff options
author | Koen Kooi <koen@openembedded.org> | 2007-09-19 10:21:07 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2007-09-19 10:21:07 +0000 |
commit | 8b7c85efaa667942b8b204aa8b54946f24c71732 (patch) | |
tree | 8a27d4a49bdbef1af03b03f4fa21fbf3ee16a85a | |
parent | 3c9b8fa0dc7f1d5c279d345492b067630dcd02c7 (diff) |
gcc: change the way to package fortran, reduce spurious variables, make missing fortran files non-fatal
-rw-r--r-- | packages/gcc/gcc-cross_4.1.0.bb | 2 | ||||
-rw-r--r-- | packages/gcc/gcc-cross_4.1.1.bb | 2 | ||||
-rw-r--r-- | packages/gcc/gcc-cross_4.1.2.bb | 2 | ||||
-rw-r--r-- | packages/gcc/gcc-cross_4.2.1.bb | 2 | ||||
-rw-r--r-- | packages/gcc/gcc-package-cross.inc | 13 | ||||
-rw-r--r-- | packages/gcc/gcc-package-sdk.inc | 2 | ||||
-rw-r--r-- | packages/gcc/gcc4-build.inc | 2 | ||||
-rw-r--r-- | packages/gcc/gcc_4.0.2.bb | 2 | ||||
-rw-r--r-- | packages/gcc/gcc_4.1.0.bb | 2 | ||||
-rw-r--r-- | packages/gcc/gcc_4.1.1.bb | 2 | ||||
-rw-r--r-- | packages/gcc/gcc_4.1.2.bb | 3 | ||||
-rw-r--r-- | packages/gcc/gcc_4.2.1.bb | 3 |
12 files changed, 8 insertions, 29 deletions
diff --git a/packages/gcc/gcc-cross_4.1.0.bb b/packages/gcc/gcc-cross_4.1.0.bb index 4e380c5f66..0d3e5de6f4 100644 --- a/packages/gcc/gcc-cross_4.1.0.bb +++ b/packages/gcc/gcc-cross_4.1.0.bb @@ -5,7 +5,7 @@ inherit cross FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}" # NOTE: split PR. If the main .oe changes something that affects its *build* # remember to increment this one too. -PR = "r1" +PR = "r2" DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc gmp-native mpfr-native" PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" diff --git a/packages/gcc/gcc-cross_4.1.1.bb b/packages/gcc/gcc-cross_4.1.1.bb index 08bc3a836e..b9267f7973 100644 --- a/packages/gcc/gcc-cross_4.1.1.bb +++ b/packages/gcc/gcc-cross_4.1.1.bb @@ -5,7 +5,7 @@ inherit cross FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}" # NOTE: split PR. If the main .oe changes something that affects its *build* # remember to increment this one too. -PR = "r12" +PR = "r13" DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc gmp-native mpfr-native" PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" diff --git a/packages/gcc/gcc-cross_4.1.2.bb b/packages/gcc/gcc-cross_4.1.2.bb index 34f083b111..e67d6c6b7a 100644 --- a/packages/gcc/gcc-cross_4.1.2.bb +++ b/packages/gcc/gcc-cross_4.1.2.bb @@ -5,7 +5,7 @@ inherit cross FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}" # NOTE: split PR. If the main .oe changes something that affects its *build* # remember to increment this one too. -PR = "r7" +PR = "r8" DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc gmp-native mpfr-native" PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" diff --git a/packages/gcc/gcc-cross_4.2.1.bb b/packages/gcc/gcc-cross_4.2.1.bb index 9433c237f4..003fd9e79e 100644 --- a/packages/gcc/gcc-cross_4.2.1.bb +++ b/packages/gcc/gcc-cross_4.2.1.bb @@ -5,7 +5,7 @@ inherit cross FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}" # NOTE: split PR. If the main .oe changes something that affects its *build* # remember to increment this one too. -PR = "r5" +PR = "r6" DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc gmp-native mpfr-native" PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" diff --git a/packages/gcc/gcc-package-cross.inc b/packages/gcc/gcc-package-cross.inc index a7a4908120..fa1b1247f5 100644 --- a/packages/gcc/gcc-package-cross.inc +++ b/packages/gcc/gcc-package-cross.inc @@ -1,8 +1,6 @@ # Packages emitted by our gcc-cross builds. # INHIBIT_PACKAGE_STRIP ?= "" -HAS_G2C ?= "yes" -HAS_GFORTRAN ?= "no" OLD_INHIBIT_PACKAGE_STRIP := "${INHIBIT_PACKAGE_STRIP}" INHIBIT_PACKAGE_STRIP = "1" @@ -53,12 +51,8 @@ do_install () { # Move libstdc++ and libg2c into libdir (resetting our prefix to /usr mkdir -p ${D}${target_libdir} mv -f ${D}${prefix}/*/lib/libstdc++.so* ${D}${target_libdir} - if [ "${HAS_G2C}" = "yes" ]; then - mv -f ${D}${prefix}/*/lib/libg2c.so* ${D}${target_libdir} || true - fi - if [ "${HAS_GFORTRAN}" = "yes" ]; then - mv -f ${D}${prefix}/*/lib/libgfortran*.so* ${D}${target_libdir} - fi + mv -f ${D}${prefix}/*/lib/libg2c.so* ${D}${target_libdir} || true + mv -f ${D}${prefix}/*/lib/libgfortran*.so* ${D}${target_libdir} || true # Manually run the target stripper since we won't get it run by # the packaging. @@ -66,5 +60,6 @@ do_install () { ${TARGET_PREFIX}strip ${D}${target_libdir}/libstdc++.so.* ${TARGET_PREFIX}strip ${D}${target_libdir}/libg2c.so.* || true ${TARGET_PREFIX}strip ${D}${target_base_libdir}/libgcc_s.so.* - fi + ${TARGET_PREFIX}strip ${D}${target_libdir}/libgfortran*.so* || true + fi } diff --git a/packages/gcc/gcc-package-sdk.inc b/packages/gcc/gcc-package-sdk.inc index a910a8dc4d..c3ba231678 100644 --- a/packages/gcc/gcc-package-sdk.inc +++ b/packages/gcc/gcc-package-sdk.inc @@ -1,8 +1,6 @@ # Packages emitted by our gcc-cross builds. # INHIBIT_PACKAGE_STRIP ?= "" -HAS_G2C ?= "yes" -HAS_GFORTRAN ?= "no" OLD_INHIBIT_PACKAGE_STRIP := "${INHIBIT_PACKAGE_STRIP}" INHIBIT_PACKAGE_STRIP = "1" diff --git a/packages/gcc/gcc4-build.inc b/packages/gcc/gcc4-build.inc index b8a214a590..f745ad22ab 100644 --- a/packages/gcc/gcc4-build.inc +++ b/packages/gcc/gcc4-build.inc @@ -1,6 +1,4 @@ FORTRAN = ",f95" -HAS_GFORTRAN ?= "yes" -HAS_G2C = "no" include gcc3-build.inc diff --git a/packages/gcc/gcc_4.0.2.bb b/packages/gcc/gcc_4.0.2.bb index 0541ddfe96..1d7d8242fe 100644 --- a/packages/gcc/gcc_4.0.2.bb +++ b/packages/gcc/gcc_4.0.2.bb @@ -35,5 +35,3 @@ require gcc4-build.inc EXTRA_OECONF += "--disable-libssp" FORTRAN = "" -HAS_GFORTRAN = "" -HAS_G2C = "no" diff --git a/packages/gcc/gcc_4.1.0.bb b/packages/gcc/gcc_4.1.0.bb index 47253cc8d5..3a4eaf9d3b 100644 --- a/packages/gcc/gcc_4.1.0.bb +++ b/packages/gcc/gcc_4.1.0.bb @@ -21,7 +21,5 @@ require gcc4-build.inc EXTRA_OECONF += "--disable-libssp" FORTRAN = "" -HAS_GFORTRAN = "" -HAS_G2C = "no" diff --git a/packages/gcc/gcc_4.1.1.bb b/packages/gcc/gcc_4.1.1.bb index 9135daca18..1a03ce617e 100644 --- a/packages/gcc/gcc_4.1.1.bb +++ b/packages/gcc/gcc_4.1.1.bb @@ -46,8 +46,6 @@ SRC_URI_append_linux = " file://ppc-gcc-41-20060515.patch;patch=1 \ #Set the fortran bits # 'fortran' or '', not 'f77' like gcc3 had FORTRAN = "" -HAS_GFORTRAN = "no" -HAS_G2C = "no" #Set the java bits JAVA_arm = "" diff --git a/packages/gcc/gcc_4.1.2.bb b/packages/gcc/gcc_4.1.2.bb index 9e05ae638c..1d76a48d3b 100644 --- a/packages/gcc/gcc_4.1.2.bb +++ b/packages/gcc/gcc_4.1.2.bb @@ -39,9 +39,6 @@ SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch;patch=1 " # ',fortran' or '', not 'f77' like gcc3 had FORTRAN = "" FORTRAN_linux-gnueabi = ",fortran" -HAS_GFORTRAN = "no" -HAS_GFORTRAN_linux-gnueabi = "yes" -HAS_G2C = "yes" #Set the java bits JAVA = "" diff --git a/packages/gcc/gcc_4.2.1.bb b/packages/gcc/gcc_4.2.1.bb index a4ac7a99a4..07f4b0db0c 100644 --- a/packages/gcc/gcc_4.2.1.bb +++ b/packages/gcc/gcc_4.2.1.bb @@ -64,9 +64,6 @@ SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch;patch=1 " # 'i,fortran' or '', not 'f77' like gcc3 had FORTRAN = "" FORTRAN_linux-gnueabi = ",fortran" -HAS_GFORTRAN = "no" -HAS_GFORTRAN_linux-gnueabi = "yes" -HAS_G2C = "yes" #Set the java bits JAVA = "" |