diff options
Diffstat (limited to 'external/poky/meta/recipes-core/glibc/glibc-scripts.inc')
-rw-r--r-- | external/poky/meta/recipes-core/glibc/glibc-scripts.inc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/external/poky/meta/recipes-core/glibc/glibc-scripts.inc b/external/poky/meta/recipes-core/glibc/glibc-scripts.inc new file mode 100644 index 00000000..2a2b4150 --- /dev/null +++ b/external/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" |