diff options
author | Chris Larson <clarson@kergoth.com> | 2004-04-28 21:26:31 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-04-28 21:26:31 +0000 |
commit | ab54f4f694b639372e8c02b71701858c5f3528ac (patch) | |
tree | 8b952a8a9b7e1f175475fb4401ffabc9b5013b1a | |
parent | dd8a2eb9d86fd5ac3d2a5e810426cd434236fcba (diff) |
s/ln -s/ln -sf/ in the gcc OE files, to prevent silly unnecessary build failure.
BKrev: 40902187FgIOv-RU83M0-HatCCgCkA
-rw-r--r-- | gcc/gcc-cross_3.3.2.oe | 2 | ||||
-rw-r--r-- | gcc/gcc-cross_3.3.3.oe | 2 | ||||
-rw-r--r-- | gcc/gcc-cross_3.4.0.oe | 2 | ||||
-rw-r--r-- | gcc/gcc-uclibc-cross_3.3.2.oe | 2 | ||||
-rw-r--r-- | gcc/gcc-uclibc-cross_3.3.3.oe | 2 | ||||
-rw-r--r-- | gcc/gcc-uclibc-cross_3.4.0.oe | 2 | ||||
-rw-r--r-- | gcc/gcc_3.3.2.oe | 10 | ||||
-rw-r--r-- | gcc/gcc_3.3.3.oe | 10 | ||||
-rw-r--r-- | gcc/gcc_3.4.0.oe | 14 |
9 files changed, 23 insertions, 23 deletions
diff --git a/gcc/gcc-cross_3.3.2.oe b/gcc/gcc-cross_3.3.2.oe index 73192999e7..1e59605e55 100644 --- a/gcc/gcc-cross_3.3.2.oe +++ b/gcc/gcc-cross_3.3.2.oe @@ -56,7 +56,7 @@ do_stage_append () { # Fix a few include links so cross builds are happier if [ ! -e ${STAGING_INCDIR}/c++ ]; then mkdir -p ${STAGING_INCDIR} - ln -s ${CROSS_DIR}/${TARGET_SYS}/include/c++ \ + ln -sf ${CROSS_DIR}/${TARGET_SYS}/include/c++ \ ${STAGING_INCDIR}/ fi diff --git a/gcc/gcc-cross_3.3.3.oe b/gcc/gcc-cross_3.3.3.oe index 733a1bfb55..5c597829b9 100644 --- a/gcc/gcc-cross_3.3.3.oe +++ b/gcc/gcc-cross_3.3.3.oe @@ -59,7 +59,7 @@ do_stage_append () { if [ ! -e ${STAGING_INCDIR}/c++ ]; then mkdir -p ${STAGING_INCDIR} rm -f ${STAGING_INCDIR}/c++ - ln -s ${CROSS_DIR}/${TARGET_SYS}/include/c++ \ + ln -sf ${CROSS_DIR}/${TARGET_SYS}/include/c++ \ ${STAGING_INCDIR}/ fi diff --git a/gcc/gcc-cross_3.4.0.oe b/gcc/gcc-cross_3.4.0.oe index 9839345526..ea78592d89 100644 --- a/gcc/gcc-cross_3.4.0.oe +++ b/gcc/gcc-cross_3.4.0.oe @@ -51,7 +51,7 @@ do_stage_append () { # Fix a few include links so cross builds are happier if [ ! -e ${STAGING_INCDIR}/c++ ]; then mkdir -p ${STAGING_INCDIR} - ln -s ${CROSS_DIR}/${TARGET_SYS}/include/c++ \ + ln -sf ${CROSS_DIR}/${TARGET_SYS}/include/c++ \ ${STAGING_INCDIR}/ fi diff --git a/gcc/gcc-uclibc-cross_3.3.2.oe b/gcc/gcc-uclibc-cross_3.3.2.oe index 139559d6b1..b84a22316c 100644 --- a/gcc/gcc-uclibc-cross_3.3.2.oe +++ b/gcc/gcc-uclibc-cross_3.3.2.oe @@ -53,7 +53,7 @@ do_stage_append () { # Fix a few include links so cross builds are happier if [ ! -e ${STAGING_INCDIR}/c++ ]; then mkdir -p ${STAGING_INCDIR} - ln -s ${CROSS_DIR}/${TARGET_SYS}/include/c++ \ + ln -sf ${CROSS_DIR}/${TARGET_SYS}/include/c++ \ ${STAGING_INCDIR}/ fi diff --git a/gcc/gcc-uclibc-cross_3.3.3.oe b/gcc/gcc-uclibc-cross_3.3.3.oe index 5746f3fc71..2bd9be1be9 100644 --- a/gcc/gcc-uclibc-cross_3.3.3.oe +++ b/gcc/gcc-uclibc-cross_3.3.3.oe @@ -53,7 +53,7 @@ do_stage_append () { # Fix a few include links so cross builds are happier if [ ! -e ${STAGING_INCDIR}/c++ ]; then mkdir -p ${STAGING_INCDIR} - ln -s ${CROSS_DIR}/${TARGET_SYS}/include/c++ \ + ln -sf ${CROSS_DIR}/${TARGET_SYS}/include/c++ \ ${STAGING_INCDIR}/ fi diff --git a/gcc/gcc-uclibc-cross_3.4.0.oe b/gcc/gcc-uclibc-cross_3.4.0.oe index e8e6f47b75..e71df2533b 100644 --- a/gcc/gcc-uclibc-cross_3.4.0.oe +++ b/gcc/gcc-uclibc-cross_3.4.0.oe @@ -49,7 +49,7 @@ do_stage_append () { # Fix a few include links so cross builds are happier if [ ! -e ${STAGING_INCDIR}/c++ ]; then mkdir -p ${STAGING_INCDIR} - ln -s ${CROSS_DIR}/${TARGET_SYS}/include/c++ \ + ln -sf ${CROSS_DIR}/${TARGET_SYS}/include/c++ \ ${STAGING_INCDIR}/ fi diff --git a/gcc/gcc_3.3.2.oe b/gcc/gcc_3.3.2.oe index ca6f239d34..9335dc7488 100644 --- a/gcc/gcc_3.3.2.oe +++ b/gcc/gcc_3.3.2.oe @@ -115,7 +115,7 @@ do_install () { mkdir -p ${D}/lib mv -f ${D}/${libdir}/libgcc_s.so.* ${D}/lib rm -f ${D}/${libdir}/libgcc_s.so - ln -s `echo ${libdir}/gcc-lib/${TARGET_SYS}/${PV} | tr -s / | + ln -sf `echo ${libdir}/gcc-lib/${TARGET_SYS}/${PV} | tr -s / | sed -e 's,^/,,' -e 's,[^/]*,..,g'`/lib/libgcc_s.so.? \ ${D}/${libdir}/gcc-lib/${TARGET_SYS}/${PV}/libgcc_s.so @@ -141,8 +141,8 @@ do_install () { rm -f ${TARGET_ARCH}-*${TARGET_ARCH}-* # Symlinks so we can use these trivially on the target - ln -s ${TARGET_SYS}-g++ g++ - ln -s ${TARGET_SYS}-gcc gcc - ln -s g++ c++ - ln -s gcc cc + ln -sf ${TARGET_SYS}-g++ g++ + ln -sf ${TARGET_SYS}-gcc gcc + ln -sf g++ c++ + ln -sf gcc cc } diff --git a/gcc/gcc_3.3.3.oe b/gcc/gcc_3.3.3.oe index d7f41c3807..52d7493810 100644 --- a/gcc/gcc_3.3.3.oe +++ b/gcc/gcc_3.3.3.oe @@ -140,7 +140,7 @@ do_install () { mkdir -p ${D}/lib mv -f ${D}/${libdir}/libgcc_s.so.* ${D}/lib rm -f ${D}/${libdir}/libgcc_s.so - ln -s `echo ${libdir}/gcc-lib/${TARGET_SYS}/${PV} | tr -s / | + ln -sf `echo ${libdir}/gcc-lib/${TARGET_SYS}/${PV} | tr -s / | sed -e 's,^/,,' -e 's,[^/]*,..,g'`/lib/libgcc_s.so.? \ ${D}/${libdir}/gcc-lib/${TARGET_SYS}/${PV}/libgcc_s.so @@ -166,8 +166,8 @@ do_install () { rm -f ${TARGET_ARCH}-*${TARGET_ARCH}-* # Symlinks so we can use these trivially on the target - ln -s ${TARGET_SYS}-g++ g++ - ln -s ${TARGET_SYS}-gcc gcc - ln -s g++ c++ - ln -s gcc cc + ln -sf ${TARGET_SYS}-g++ g++ + ln -sf ${TARGET_SYS}-gcc gcc + ln -sf g++ c++ + ln -sf gcc cc } diff --git a/gcc/gcc_3.4.0.oe b/gcc/gcc_3.4.0.oe index 28ecd4f46b..387db6e193 100644 --- a/gcc/gcc_3.4.0.oe +++ b/gcc/gcc_3.4.0.oe @@ -142,7 +142,7 @@ do_install () { mkdir -p ${D}/lib mv ${D}/${libdir}/libgcc_s.so.* ${D}/lib rm ${D}/${libdir}/libgcc_s.so - ln -s `echo ${libdir}/gcc/${TARGET_SYS}/${PV} \ + ln -sf `echo ${libdir}/gcc/${TARGET_SYS}/${PV} \ | tr -s / \ | sed -e 's,^/,,' -e 's,[^/]*,..,g'`/lib/libgcc_s.so.? \ ${D}/${libdir}/gcc/${TARGET_SYS}/${PV}/libgcc_s.so @@ -168,11 +168,11 @@ do_install () { rm -f ${TARGET_ARCH}-*${TARGET_ARCH}-* # Symlinks so we can use these trivially on the target - ln -s ${TARGET_SYS}-g77 g77 - ln -s ${TARGET_SYS}-g++ g++ - ln -s ${TARGET_SYS}-gcc gcc - ln -s g77 f77 - ln -s g++ c++ - ln -s gcc cc + ln -sf ${TARGET_SYS}-g77 g77 + ln -sf ${TARGET_SYS}-g++ g++ + ln -sf ${TARGET_SYS}-gcc gcc + ln -sf g77 f77 + ln -sf g++ c++ + ln -sf gcc cc } |