From: Zongchun Yu Zongchun.Yu@freescale.com
The mtrace should be provided by external toolchain instead of eglibc-mtrace.
Signed-off-by: Zongchun Yu Zongchun.Yu@freescale.com --- .../external-linaro-toolchain/external-linaro-toolchain.bb | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/meta-linaro-toolchain/recipes-devtools/external-linaro-toolchain/external-linaro-toolchain.bb b/meta-linaro-toolchain/recipes-devtools/external-linaro-toolchain/external-linaro-toolchain.bb index 06abb7a..bb4cfae 100644 --- a/meta-linaro-toolchain/recipes-devtools/external-linaro-toolchain/external-linaro-toolchain.bb +++ b/meta-linaro-toolchain/recipes-devtools/external-linaro-toolchain/external-linaro-toolchain.bb @@ -72,6 +72,7 @@ do_install() { fi cp -a ${EXTERNAL_TOOLCHAIN}/${ELT_TARGET_SYS}/libc/usr/share/* ${D}${datadir} cp -a ${EXTERNAL_TOOLCHAIN}/${ELT_TARGET_SYS}/libc/usr/include/* ${D}${includedir} + cp -a ${EXTERNAL_TOOLCHAIN}/${ELT_TARGET_SYS}/libc/usr/bin/mtrace ${D}${bindir} if [ -d ${EXTERNAL_TOOLCHAIN}/${ELT_TARGET_SYS}/libc/usr/include/${ELT_TARGET_SYS} ]; then cp -a ${EXTERNAL_TOOLCHAIN}/${ELT_TARGET_SYS}/libc/usr/include/${ELT_TARGET_SYS}/* ${D}${includedir}
@@ -155,6 +156,7 @@ INSANE_SKIP_gdbserver += "ldflags" PKG_${PN} = "eglibc" PKG_${PN}-dev = "eglibc-dev" PKG_${PN}-doc = "eglibc-doc" +PKG_${PN}-mtrace = "eglibc-mtrace" PKG_${PN}-dbg = "eglibc-dbg" PKG_${PN}-pic = "eglibc-pic" PKG_${PN}-utils = "eglibc-utils" @@ -164,6 +166,8 @@ PKG_${PN}-thread-db = "eglibc-thread-db" PKG_${PN}-pcprofile = "eglibc-pcprofile" PKG_${PN}-staticdev = "eglibc-staticdev"
+RPROVIDES_${PN}-mtrace += "${TCLIBC}-mtrace" + PKGV_${PN} = "${ELT_VER_LIBC}" PKGV_${PN}-dev = "${ELT_VER_LIBC}" PKGV_${PN}-doc = "${ELT_VER_LIBC}"