diff options
author | Khem Raj <raj.khem@gmail.com> | 2010-07-21 10:51:16 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2010-07-22 10:12:45 -0700 |
commit | fff85c73672c01afa7d1b27c68cc6b37453ff607 (patch) | |
tree | 6d94c459adb38b1356f106e343dfe1ed067e8688 /recipes/gcc/gcc-package-cross.inc | |
parent | 526394a2f3cd44f09612687cad46a19e9af88402 (diff) | |
download | openembedded-fff85c73672c01afa7d1b27c68cc6b37453ff607.tar.gz |
toolchain: Remove references to CROSS_DIR
* Toolchain is installed into native sysroot now.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Tom Rini <tom_rini@mentor.com>
Acked-by: Richard Purdie <rpurdie@rpsys.net>
Ackef-by: Chris Larson <clarson@kergoth.com>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@openembedded.org>
Diffstat (limited to 'recipes/gcc/gcc-package-cross.inc')
-rw-r--r-- | recipes/gcc/gcc-package-cross.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/recipes/gcc/gcc-package-cross.inc b/recipes/gcc/gcc-package-cross.inc index 95936ed7bb..6978340834 100644 --- a/recipes/gcc/gcc-package-cross.inc +++ b/recipes/gcc/gcc-package-cross.inc @@ -38,12 +38,12 @@ 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. - if [ -f ${D}${CROSS_DIR}/bin/${TARGET_PREFIX}gfortran ]; then + if [ -f ${D}${STAGING_DIR_NATIVE}${prefix_native}/bin/${TARGET_PREFIX}gfortran ]; then currdir="$PWD" - cd ${D}${CROSS_DIR}/bin/ + cd ${D}${STAGING_DIR_NATIVE}${prefix_native}/bin/ ln -sf ${TARGET_PREFIX}gfortran ${TARGET_PREFIX}g77 || true - if [ -d ${CROSS_DIR}/${TARGET_SYS}/bin/ ] ; then - cd ${CROSS_DIR}/${TARGET_SYS}/bin/ + if [ -d ${STAGING_DIR_NATIVE}${prefix_native}/${TARGET_SYS}/bin/ ] ; then + cd ${STAGING_DIR_NATIVE}${prefix_native}/${TARGET_SYS}/bin/ ln -sf gfortran g77 || true fi cd $currdir |