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>
This commit is contained in:
parent
a090406686
commit
6f25176581
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue