summaryrefslogtreecommitdiffstats
path: root/meta
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:19:41 +0100
commit6f2517658141e16b963b88b75c26032f47eaa306 (patch)
treedc56f675b00bbda4bf60c8f3e94ad37793db084f /meta
parenta0904066865c9792033d6c87c270966113b6ae66 (diff)
downloadpoky-6f2517658141e16b963b88b75c26032f47eaa306.tar.gz
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> (From OE-Core rev: 10722a37bb7efa563425a7389100b9322d96492e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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 () {
75 rm -rf ${D}${localstatedir} 75 rm -rf ${D}${localstatedir}
76 76
77 # remove empty eglibc dir 77 # remove empty eglibc dir
78 if [ -d ${D}${libdir}/eglibc ]; then 78 if [ -d ${D}${libdir}/eglibc -a ! -e ${D}${libdir}/eglibc/pt_chown ]; then
79 rmdir ${D}${libdir}/eglibc 79 rmdir ${D}${libdir}/eglibc
80 fi 80 fi
81 oe_multilib_header bits/syscall.h 81 oe_multilib_header bits/syscall.h