summaryrefslogtreecommitdiff
path: root/meta/recipes-core/glibc/glibc-scripts.inc
blob: bce0a42106eb48ec6c293629dd150a1bc3adeb7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
include glibc-collateral.inc

SUMMARY = "utility scripts provided by glibc"
DESCRIPTION = "utility scripts provided by glibc"
RDEPENDS_${PN} = "bash glibc-mtrace"

SRC = "${STAGING_INCDIR}/glibc-scripts-internal-${MULTIMACH_TARGET_SYS}"

bashscripts = "sotruss xtrace"

do_install() {
	install -d -m 0755 ${D}${bindir}
	for i in ${bashscripts}; do
		install -m 0755 ${SRC}/$i ${D}${bindir}/
	done
}

# sotruss script requires sotruss-lib.so (given by libsotruss package), 
# to produce trace of the library calls.
RDEPENDS_${PN} += "libsotruss"