summaryrefslogtreecommitdiffstats
path: root/poky/meta/recipes-core/glibc/glibc-scripts.inc
diff options
context:
space:
mode:
Diffstat (limited to 'poky/meta/recipes-core/glibc/glibc-scripts.inc')
-rw-r--r--poky/meta/recipes-core/glibc/glibc-scripts.inc20
1 files changed, 20 insertions, 0 deletions
diff --git a/poky/meta/recipes-core/glibc/glibc-scripts.inc b/poky/meta/recipes-core/glibc/glibc-scripts.inc
new file mode 100644
index 000000000..2a2b41507
--- /dev/null
+++ b/poky/meta/recipes-core/glibc/glibc-scripts.inc
@@ -0,0 +1,20 @@
+require glibc-collateral.inc
+
+SUMMARY = "utility scripts provided by glibc"
+DESCRIPTION = "utility scripts provided by glibc"
+RDEPENDS_${PN} = "bash glibc-mtrace"
+
+SRC = "${COMPONENTS_DIR}/${PACKAGE_ARCH}/glibc-stash-locale/scripts"
+
+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"
OpenPOWER on IntegriCloud