summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/eglibc/eglibc-package.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-18 17:38:05 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-18 22:18:52 +0100
commitac7a0311825e20c544d17bfd8be63546ad36e665 (patch)
treefaf4f050bb8e629a5892f6eb7b0260583ca29451 /meta/recipes-core/eglibc/eglibc-package.inc
parent63f545b850ea4118a7e9e412aa8a22206dc7da8c (diff)
downloadpoky-ac7a0311825e20c544d17bfd8be63546ad36e665.tar.gz
bitbake.conf: Define USRBINPATH globally instead of individually
Many recipes are now having to define PERLPATH and PYTHONPATH variables. Creating USRBINPATH in bitbake.conf means we can remove all these lines from the many recipes now needing this and simplify the code changes needed in each case, reducing the chance of errors being introduced. Also fixup glib python binary location issue and fix function indentation. (From OE-Core rev: cf63d9068c3a8c635dfc240d30dfff278be9b0e2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/eglibc/eglibc-package.inc')
-rw-r--r--meta/recipes-core/eglibc/eglibc-package.inc5
1 files changed, 1 insertions, 4 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-package.inc b/meta/recipes-core/eglibc/eglibc-package.inc
index 9a7febe666..119b443649 100644
--- a/meta/recipes-core/eglibc/eglibc-package.inc
+++ b/meta/recipes-core/eglibc/eglibc-package.inc
@@ -77,9 +77,6 @@ DESCRIPTION_libsotruss = "Library to support sotruss which traces calls through
77 77
78inherit libc-common multilib_header 78inherit libc-common multilib_header
79 79
80PERLPATH = "${bindir}/env perl"
81PERLPATH_virtclass-nativesdk = "/usr/bin/env perl"
82
83do_install_append () { 80do_install_append () {
84 rm -f ${D}${sysconfdir}/localtime 81 rm -f ${D}${sysconfdir}/localtime
85 rm -rf ${D}${localstatedir} 82 rm -rf ${D}${localstatedir}
@@ -87,7 +84,7 @@ do_install_append () {
87 oe_multilib_header bits/syscall.h 84 oe_multilib_header bits/syscall.h
88 85
89 if [ -f ${D}${bindir}/mtrace ]; then 86 if [ -f ${D}${bindir}/mtrace ]; then
90 sed -i -e '1s,#!.*perl,#! ${PERLPATH},' -e '2s,exec.*perl,exec ${PERLPATH},' ${D}${bindir}/mtrace 87 sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/env perl,' -e '2s,exec.*perl,exec ${USRBINPATH}/env perl,' ${D}${bindir}/mtrace
91 fi 88 fi
92} 89}
93 90