diff options
| -rw-r--r-- | meta/recipes-core/meta/external-csl-toolchain.bb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/meta/recipes-core/meta/external-csl-toolchain.bb b/meta/recipes-core/meta/external-csl-toolchain.bb index fc35acbb93..22aa99657f 100644 --- a/meta/recipes-core/meta/external-csl-toolchain.bb +++ b/meta/recipes-core/meta/external-csl-toolchain.bb | |||
| @@ -64,6 +64,7 @@ do_install() { | |||
| 64 | install -d ${D}${bindir}/.debug | 64 | install -d ${D}${bindir}/.debug |
| 65 | mv ${D}${libdir}/bin/.debug/* ${D}${bindir}/.debug/ | 65 | mv ${D}${libdir}/bin/.debug/* ${D}${bindir}/.debug/ |
| 66 | fi | 66 | fi |
| 67 | ln -s ../../bin/gdbserver ${D}${libdir}/bin/sysroot-gdbserver | ||
| 67 | 68 | ||
| 68 | sed -i -e "s# /lib# ../../lib#g" -e "s# /usr/lib# .#g" ${D}${libdir}/libc.so | 69 | sed -i -e "s# /lib# ../../lib#g" -e "s# /usr/lib# .#g" ${D}${libdir}/libc.so |
| 69 | sed -i -e "s# /lib# ../../lib#g" -e "s# /usr/lib# .#g" ${D}${libdir}/libpthread.so | 70 | sed -i -e "s# /lib# ../../lib#g" -e "s# /usr/lib# .#g" ${D}${libdir}/libpthread.so |
| @@ -86,7 +87,7 @@ external_toolchain_sysroot_adjust() { | |||
| 86 | fi | 87 | fi |
| 87 | } | 88 | } |
| 88 | 89 | ||
| 89 | PACKAGES =+ "libgcc libgcc-dev libstdc++ libstdc++-dev linux-libc-headers linux-libc-headers-dev" | 90 | PACKAGES =+ "libgcc libgcc-dev libstdc++ libstdc++-dev linux-libc-headers linux-libc-headers-dev gdbserver gdbserver-dbg" |
| 90 | 91 | ||
| 91 | INSANE_SKIP_libgcc = "1" | 92 | INSANE_SKIP_libgcc = "1" |
| 92 | INSANE_SKIP_libstdc++ = "1" | 93 | INSANE_SKIP_libstdc++ = "1" |
| @@ -126,7 +127,8 @@ PKGV_libstdc++ = "${CSL_VER_GCC}" | |||
| 126 | PKGV_libstdc++-dev = "${CSL_VER_GCC}" | 127 | PKGV_libstdc++-dev = "${CSL_VER_GCC}" |
| 127 | PKGV_linux-libc-headers = "${CSL_VER_KERNEL}" | 128 | PKGV_linux-libc-headers = "${CSL_VER_KERNEL}" |
| 128 | PKGV_linux-libc-headers-dev = "${CSL_VER_KERNEL}" | 129 | PKGV_linux-libc-headers-dev = "${CSL_VER_KERNEL}" |
| 129 | PKGV_gdbserver = "${CSL_VER_GDBSERVER}" | 130 | PKGV_gdbserver = "${CSL_VER_GDB}" |
| 131 | PKGV_gdbserver-dbg = "${CSL_VER_GDB}" | ||
| 130 | 132 | ||
| 131 | FILES_libgcc = "${base_libdir}/libgcc_s.so.1" | 133 | FILES_libgcc = "${base_libdir}/libgcc_s.so.1" |
| 132 | FILES_libgcc-dev = "${base_libdir}/libgcc_s.so" | 134 | FILES_libgcc-dev = "${base_libdir}/libgcc_s.so" |
| @@ -145,3 +147,5 @@ FILES_linux-libc-headers = "${includedir}/asm* \ | |||
| 145 | ${includedir}/sound \ | 147 | ${includedir}/sound \ |
| 146 | ${includedir}/video \ | 148 | ${includedir}/video \ |
| 147 | " | 149 | " |
| 150 | FILES_gdbserver = "${bindir}/gdbserver ${libdir}/bin/sysroot-gdbserver" | ||
| 151 | FILES_gdbserver-dbg = "${bindir}/.debug/gdbserver" | ||
