diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-14 15:23:26 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-14 15:23:46 +0000 |
commit | cb771ef55afc9acb0babdc4237bf5320cdc8ff6b (patch) | |
tree | 5b930ba7b02a43faa687a9822d0fa58827a6b725 /meta/recipes-devtools/gcc | |
parent | f2bc4c6a4828903d770f52efcd38750a46df0e2e (diff) | |
download | poky-cb771ef55afc9acb0babdc4237bf5320cdc8ff6b.tar.gz |
Revert "gcc-cross: aviod creating invalid symlinks"
This reverts commit 7893e74311e53882d8f93ecb95a6bd9f5b14651e since it breaks
the builds.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross-intermediate.inc | 3 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-package-cross.inc | 6 |
2 files changed, 3 insertions, 6 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc b/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc index 87d11ab476..ea105e6eb0 100644 --- a/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc +++ b/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc | |||
@@ -51,8 +51,7 @@ do_install () { | |||
51 | dest=${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/ | 51 | dest=${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/ |
52 | install -d $dest | 52 | install -d $dest |
53 | for t in ar as ld nm objcopy objdump ranlib strip g77 gcc cpp gfortran; do | 53 | for t in ar as ld nm objcopy objdump ranlib strip g77 gcc cpp gfortran; do |
54 | [ ! -e ${BINRELPATH}/${TARGET_PREFIX}$t ] || \ | 54 | ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t $dest$t |
55 | ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t $dest$t | ||
56 | done | 55 | done |
57 | } | 56 | } |
58 | 57 | ||
diff --git a/meta/recipes-devtools/gcc/gcc-package-cross.inc b/meta/recipes-devtools/gcc/gcc-package-cross.inc index 3d52d23f92..e32412c127 100644 --- a/meta/recipes-devtools/gcc/gcc-package-cross.inc +++ b/meta/recipes-devtools/gcc/gcc-package-cross.inc | |||
@@ -19,10 +19,8 @@ do_install () { | |||
19 | dest=${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/ | 19 | dest=${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/ |
20 | install -d $dest | 20 | install -d $dest |
21 | for t in ar as ld nm objcopy objdump ranlib strip g77 gcc cpp gfortran; do | 21 | for t in ar as ld nm objcopy objdump ranlib strip g77 gcc cpp gfortran; do |
22 | if [ -e ${BINRELPATH}/${TARGET_PREFIX}$t ]; then | 22 | ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t $dest$t |
23 | ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t $dest$t | 23 | ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t ${dest}${TARGET_PREFIX}$t |
24 | ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t ${dest}${TARGET_PREFIX}$t | ||
25 | fi | ||
26 | done | 24 | done |
27 | 25 | ||
28 | # Remove things we don't need but keep share/java | 26 | # Remove things we don't need but keep share/java |