From: Zongchun Yu Zongchun.Yu@freescale.com
This avoids eglibc being rebuilt when trying to include packages like eglibc-utils.
Signed-off-by: Zongchun Yu Zongchun.Yu@freescale.com --- .../external-linaro-toolchain/external-linaro-toolchain.bb | 8 ++++++++ 1 file changed, 8 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 bb4cfae..8ac929c 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 @@ -145,8 +145,11 @@ PACKAGES =+ "\ libitm \ libitm-dev \ libitm-staticdev \ + eglibc-utils \ "
+ALLOW_EMPTY_eglibc-utils = "1" + INSANE_SKIP_${PN}-dbg = "staticdev" INSANE_SKIP_${PN}-utils += "ldflags" INSANE_SKIP_libstdc++ += "ldflags" @@ -166,7 +169,12 @@ PKG_${PN}-thread-db = "eglibc-thread-db" PKG_${PN}-pcprofile = "eglibc-pcprofile" PKG_${PN}-staticdev = "eglibc-staticdev"
+RPROVIDES_${PN} += "${TCLIBC}" RPROVIDES_${PN}-mtrace += "${TCLIBC}-mtrace" +RPROVIDES_${PN}-staticdev += "${TCLIBC}-staticdev" +RPROVIDES_${PN}-dev += "${TCLIBC}-dev" +RPROVIDES_${PN}-dbg += "${TCLIBC}-dbg" +RPROVIDES_${PN}-utils += "${TCLIBC}-utils"
PKGV_${PN} = "${ELT_VER_LIBC}" PKGV_${PN}-dev = "${ELT_VER_LIBC}"