cross-aarch64-linux-gnu: clean up.
This commit is contained in:
parent
cc5e1a66c4
commit
b59c19917b
@ -250,11 +250,11 @@ do_install() {
|
||||
cd ${wrksrc}/glibc-build
|
||||
make install_root=${DESTDIR}/${_CROSS_SYSROOT} install install-headers
|
||||
|
||||
# Move files to /usr/lib (lib64).
|
||||
if [ -d ${DESTDIR}/${_sysroot}/usr/lib64 ]; then
|
||||
mv ${DESTDIR}/${_sysroot}/usr/lib64/* ${DESTDIR}/${_sysroot}/usr/lib/
|
||||
rmdir ${DESTDIR}/${_sysroot}/usr/lib64
|
||||
fi
|
||||
# Move files to /usr/lib (lib64).
|
||||
if [ -d ${DESTDIR}/${_sysroot}/usr/lib64 ]; then
|
||||
mv ${DESTDIR}/${_sysroot}/usr/lib64/* ${DESTDIR}/${_sysroot}/usr/lib/
|
||||
rmdir ${DESTDIR}/${_sysroot}/usr/lib64
|
||||
fi
|
||||
|
||||
# Remove unnecessary stuff
|
||||
rm -f ${DESTDIR}/usr/lib*/libiberty.a
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user