summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2014-06-03 11:11:18 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-08 10:20:50 +0000
commitcbfccc639477f58cd8fb65338c1c6e935d900c07 (patch)
tree60a7978f9f977d80542e0191e04a6d071c4ed196 /meta/recipes-core
parentd0577f99606c061ac7539ac51897e6e6442d1144 (diff)
downloadpoky-cbfccc639477f58cd8fb65338c1c6e935d900c07.tar.gz
glibc: fix libdir/libexecdir path confusion
$libdir/glibc is deleted if it doesn't exist but this is incorrectly assuming what variables are used to create this directory. In fact libexecdir is being used in the Makefile so use that in the recipe too. This fixes builds where libexecdir is changed. (From OE-Core rev: 0c73dcb7c1c369a66e4c5804fcdd19f657426a5d) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/glibc/glibc-package.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-core/glibc/glibc-package.inc b/meta/recipes-core/glibc/glibc-package.inc
index 5f6036840f..36c5350896 100644
--- a/meta/recipes-core/glibc/glibc-package.inc
+++ b/meta/recipes-core/glibc/glibc-package.inc
@@ -82,9 +82,10 @@ do_install_append () {
82 rm -rf ${D}${localstatedir} 82 rm -rf ${D}${localstatedir}
83 83
84 # remove empty glibc dir 84 # remove empty glibc dir
85 if [ -d ${D}${libdir}/glibc -a ! -e ${D}${libdir}/glibc/pt_chown ]; then 85 if [ -d ${D}${libexecdir} ]; then
86 rmdir ${D}${libdir}/glibc 86 rmdir --ignore-fail-on-non-empty ${D}${libexecdir}
87 fi 87 fi
88
88 oe_multilib_header bits/syscall.h 89 oe_multilib_header bits/syscall.h
89 90
90 if [ -f ${D}${bindir}/mtrace ]; then 91 if [ -f ${D}${bindir}/mtrace ]; then