summaryrefslogtreecommitdiff
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorRiku Voipio <riku.voipio@linaro.org>2013-08-26 12:51:01 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-26 13:17:18 +0100
commit10722a37bb7efa563425a7389100b9322d96492e (patch)
tree05f509bbbe04cad0d88ec9ee1ac3d777e9b50e53 /meta/recipes-core
parent7a37cc81fb95d56b5ac5e5ca22a1900e45717911 (diff)
downloadopenembedded-core-10722a37bb7efa563425a7389100b9322d96492e.tar.gz
openembedded-core-10722a37bb7efa563425a7389100b9322d96492e.tar.bz2
openembedded-core-10722a37bb7efa563425a7389100b9322d96492e.zip
eglibc: fix directory cleanup for 2.17
Commit e0c2dd275827a4b37b8116d0f0119333638461af broke building eglibc 2.17, which still ships pt_chown under eglibc/ directory. Fix by only deleting directory when pt_chown is not there. Cc: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/eglibc/eglibc-package.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-package.inc b/meta/recipes-core/eglibc/eglibc-package.inc
index c36d16c0ce..3adf1a9ef9 100644
--- a/meta/recipes-core/eglibc/eglibc-package.inc
+++ b/meta/recipes-core/eglibc/eglibc-package.inc
@@ -75,7 +75,7 @@ do_install_append () {
rm -rf ${D}${localstatedir}
# remove empty eglibc dir
- if [ -d ${D}${libdir}/eglibc ]; then
+ if [ -d ${D}${libdir}/eglibc -a ! -e ${D}${libdir}/eglibc/pt_chown ]; then
rmdir ${D}${libdir}/eglibc
fi
oe_multilib_header bits/syscall.h