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 /packages/gcc/gcc-package-cross.inc | |
parent | 3c9b8fa0dc7f1d5c279d345492b067630dcd02c7 (diff) |
gcc: change the way to package fortran, reduce spurious variables, make missing fortran files non-fatal
Diffstat (limited to 'packages/gcc/gcc-package-cross.inc')
-rw-r--r-- | packages/gcc/gcc-package-cross.inc | 13 |
1 files changed, 4 insertions, 9 deletions
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 } |