mirror of
https://git.yoctoproject.org/poky
synced 2026-06-04 02:00:04 +00:00
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>
This commit is contained in:
@@ -51,8 +51,7 @@ do_install () {
|
|||||||
dest=${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/
|
dest=${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/
|
||||||
install -d $dest
|
install -d $dest
|
||||||
for t in ar as ld nm objcopy objdump ranlib strip g77 gcc cpp gfortran; do
|
for t in ar as ld nm objcopy objdump ranlib strip g77 gcc cpp gfortran; do
|
||||||
[ ! -e ${BINRELPATH}/${TARGET_PREFIX}$t ] || \
|
ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t $dest$t
|
||||||
ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t $dest$t
|
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -19,10 +19,8 @@ do_install () {
|
|||||||
dest=${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/
|
dest=${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/
|
||||||
install -d $dest
|
install -d $dest
|
||||||
for t in ar as ld nm objcopy objdump ranlib strip g77 gcc cpp gfortran; do
|
for t in ar as ld nm objcopy objdump ranlib strip g77 gcc cpp gfortran; do
|
||||||
if [ -e ${BINRELPATH}/${TARGET_PREFIX}$t ]; then
|
ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t $dest$t
|
||||||
ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t $dest$t
|
ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t ${dest}${TARGET_PREFIX}$t
|
||||||
ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t ${dest}${TARGET_PREFIX}$t
|
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
|
|
||||||
# Remove things we don't need but keep share/java
|
# Remove things we don't need but keep share/java
|
||||||
|
|||||||
Reference in New Issue
Block a user