From 74b5f8943b2b29c7b3b62be7d81fb2b3a86b9584 Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Tue, 25 Sep 2012 13:56:41 +0100 Subject: eglibc: Move perl- and bash-using scripts to separate recipes This removes the dependency of eglibc.bb itself on perl and bash which, in turn, eliminates the need to build those two recipes if the scripts which need them are not going to be installed. Also provide dummy do_evacuate_scripts() for all variants of eglibc-initial otherwise the nativesdk and multilib variants might crash trying to copy a non-existent mtrace script. Signed-off-by: Phil Blundell Signed-off-by: Richard Purdie --- meta/recipes-core/eglibc/eglibc-mtrace.inc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 meta/recipes-core/eglibc/eglibc-mtrace.inc (limited to 'meta/recipes-core/eglibc/eglibc-mtrace.inc') diff --git a/meta/recipes-core/eglibc/eglibc-mtrace.inc b/meta/recipes-core/eglibc/eglibc-mtrace.inc new file mode 100644 index 0000000000..1ec93ac19b --- /dev/null +++ b/meta/recipes-core/eglibc/eglibc-mtrace.inc @@ -0,0 +1,14 @@ +include eglibc-collateral.inc + +PR = "r1" +SUMMARY = "mtrace utility provided by eglibc" +DESCRIPTION = "mtrace utility provided by eglibc" +RDEPENDS_${PN} = "perl" +RPROVIDES_${PN} = "libc-mtrace" + +SRC = "${STAGING_INCDIR}/eglibc-scripts-internal-${MULTIMACH_TARGET_SYS}" + +do_install() { + install -d -m 0755 ${D}${bindir} + install -m 0755 ${SRC}/mtrace ${D}${bindir}/ +} -- cgit v1.2.3