mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 18:49:32 +02:00
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. (From OE-Core rev: 74b5f8943b2b29c7b3b62be7d81fb2b3a86b9584) Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
92b44ec00e
commit
59e3a13604
17
meta/recipes-core/eglibc/eglibc-scripts.inc
Normal file
17
meta/recipes-core/eglibc/eglibc-scripts.inc
Normal file
@@ -0,0 +1,17 @@
|
||||
include eglibc-collateral.inc
|
||||
|
||||
SUMMARY = "utility scripts provided by eglibc"
|
||||
DESCRIPTION = "utility scripts provided by eglibc"
|
||||
RDEPENDS_${PN} = "bash"
|
||||
RDEPENDS_ldd = "bash"
|
||||
|
||||
SRC = "${STAGING_INCDIR}/eglibc-scripts-internal-${MULTIMACH_TARGET_SYS}"
|
||||
|
||||
bashscripts = "mtrace sotruss xtrace"
|
||||
|
||||
do_install() {
|
||||
install -d -m 0755 ${D}${bindir}
|
||||
for i in ${bashscripts}; do
|
||||
install -m 0755 ${SRC}/$i ${D}${bindir}/
|
||||
done
|
||||
}
|
||||
Reference in New Issue
Block a user