diff options
author | Junqian Gordon Xu <xjqian@gmail.com> | 2007-11-24 06:08:44 +0000 |
---|---|---|
committer | Junqian Gordon Xu <xjqian@gmail.com> | 2007-11-24 06:08:44 +0000 |
commit | 3bebe97f2a8a0d1617e91dd3ecd58375c5a9a26e (patch) | |
tree | 9365aa2e9a5b910564be073d1f2fba713d022c4e | |
parent | 2360a557bda08ef10b3401c8b5b581b3a9ce0ef2 (diff) |
gcc-(cross)-package.inc: selective fortran packaging.
-rw-r--r-- | packages/gcc/gcc-package-cross.inc | 4 | ||||
-rw-r--r-- | packages/gcc/gcc-package.inc | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/packages/gcc/gcc-package-cross.inc b/packages/gcc/gcc-package-cross.inc index 49d59ba704..5c6b370d82 100644 --- a/packages/gcc/gcc-package-cross.inc +++ b/packages/gcc/gcc-package-cross.inc @@ -81,6 +81,6 @@ do_install () { # Link gfortran to g77 to satisfy not-so-smart configure or hard coded g77 # gfortran is fully backwards compatible. This is a safe and practical solution. - ln -sf ${CROSS_DIR}/bin/${TARGET_PREFIX}gfortran ${CROSS_DIR}/bin/${TARGET_PREFIX}g77 - ln -sf ${CROSS_DIR}/${TARGET_SYS}/bin/gfortran ${CROSS_DIR}/${TARGET_SYS}/bin/g77 + ln -sf ${CROSS_DIR}/bin/${TARGET_PREFIX}gfortran ${CROSS_DIR}/bin/${TARGET_PREFIX}g77 || true + ln -sf ${CROSS_DIR}/${TARGET_SYS}/bin/gfortran ${CROSS_DIR}/${TARGET_SYS}/bin/g77 || true } diff --git a/packages/gcc/gcc-package.inc b/packages/gcc/gcc-package.inc index 1eee631e33..96f1604997 100644 --- a/packages/gcc/gcc-package.inc +++ b/packages/gcc/gcc-package.inc @@ -120,12 +120,12 @@ do_install () { rm -f ${TARGET_ARCH}-*${TARGET_ARCH}-* # Symlinks so we can use these trivially on the target - ln -sf ${TARGET_SYS}-g77 g77 - ln -sf ${TARGET_SYS}-gfortran gfortran + ln -sf ${TARGET_SYS}-g77 g77 || true + ln -sf ${TARGET_SYS}-gfortran gfortran || true ln -sf ${TARGET_SYS}-g++ g++ ln -sf ${TARGET_SYS}-gcc gcc - ln -sf g77 f77 - ln -sf gfortran f95 + ln -sf g77 f77 || true + ln -sf gfortran f95 || true ln -sf g++ c++ ln -sf gcc cc ln -sf ${bindir}/${TARGET_SYS}-cpp ${D}${base_libdir}/cpp |