cross-*: remove do_clean().

It was incorrectly removing $XBPS_CROSS_BASE (cross sysroot)... and there's
no need to perform a cleanup before the pkg installation will overwrite
those files (if it's required).
This commit is contained in:
Juan RP 2015-03-23 15:57:33 +01:00
parent c74b6d4416
commit f51cc018e8
9 changed files with 0 additions and 72 deletions

View file

@ -264,14 +264,6 @@ do_install() {
done
}
do_clean() {
# Remove temporary stuff from masterdir
rm -rf ${_CROSS_SYSROOT}
rm -f /usr/bin/${_triplet}*
rm -rf /usr/lib/gcc/${_triplet}
rm -rf /usr/libexec/gcc/${_triplet}
}
cross-arm-linux-gnueabi-libc_package() {
short_desc+=" - glibc files"
noarch=yes

View file

@ -272,14 +272,6 @@ do_install() {
done
}
do_clean() {
# Remove temporary stuff from masterdir
rm -rf ${_CROSS_SYSROOT}
rm -f /usr/bin/${_triplet}*
rm -rf /usr/lib/gcc/${_triplet}
rm -rf /usr/libexec/gcc/${_triplet}
}
cross-arm-linux-gnueabihf-libc_package() {
short_desc+=" - glibc files"
noarch=yes

View file

@ -274,14 +274,6 @@ do_install() {
done
}
do_clean() {
# Remove temporary stuff from masterdir
rm -rf ${_CROSS_SYSROOT}
rm -f /usr/bin/${_triplet}*
rm -rf /usr/lib/gcc/${_triplet}
rm -rf /usr/libexec/gcc/${_triplet}
}
cross-arm-linux-gnueabihf7-libc_package() {
short_desc+=" - glibc files"
noarch=yes

View file

@ -208,14 +208,6 @@ do_install() {
rm -f ${DESTDIR}/${_sysroot}/lib/*.py
}
do_clean() {
# Remove temporary stuff from masterdir
rm -rf ${_sysroot}
rm -f /usr/bin/${_triplet}*
rm -rf /usr/lib/gcc/${_triplet}
rm -rf /usr/libexec/gcc/${_triplet}
}
cross-arm-linux-musleabi-libc_package() {
short_desc+=" - libc files"
noarch=yes

View file

@ -213,14 +213,6 @@ do_install() {
rm -f ${DESTDIR}/${_sysroot}/lib/*.py
}
do_clean() {
# Remove temporary stuff from masterdir
rm -rf ${_sysroot}
rm -f /usr/bin/${_triplet}*
rm -rf /usr/lib/gcc/${_triplet}
rm -rf /usr/libexec/gcc/${_triplet}
}
cross-i686-linux-musl-libc_package() {
short_desc+=" - libc files"
noarch=yes

View file

@ -268,14 +268,6 @@ do_install() {
done
}
do_clean() {
# Remove temporary stuff from masterdir
rm -rf ${_CROSS_SYSROOT}
rm -f /usr/bin/${_triplet}*
rm -rf /usr/lib/gcc/${_triplet}
rm -rf /usr/libexec/gcc/${_triplet}
}
cross-i686-pc-linux-gnu-libc_package() {
short_desc+=" - glibc files"
noarch=yes

View file

@ -260,14 +260,6 @@ do_install() {
done
}
do_clean() {
# Remove temporary stuff from masterdir
rm -rf ${_CROSS_SYSROOT}
rm -f /usr/bin/${_triplet}*
rm -rf /usr/lib/gcc/${_triplet}
rm -rf /usr/libexec/gcc/${_triplet}
}
cross-mips-softfloat-linux-gnu-libc_package() {
short_desc+=" - libc files"
noarch=yes

View file

@ -260,14 +260,6 @@ do_install() {
done
}
do_clean() {
# Remove temporary stuff from masterdir
rm -rf ${_CROSS_SYSROOT}
rm -f /usr/bin/${_triplet}*
rm -rf /usr/lib/gcc/${_triplet}
rm -rf /usr/libexec/gcc/${_triplet}
}
cross-mipsel-softfloat-linux-gnu-libc_package() {
short_desc+=" - libc files"
noarch=yes

View file

@ -212,14 +212,6 @@ do_install() {
rm -f ${DESTDIR}/${_sysroot}/lib/*.py
}
do_clean() {
# Remove temporary stuff from masterdir
rm -rf ${_sysroot}
rm -f /usr/bin/${_triplet}*
rm -rf /usr/lib/gcc/${_triplet}
rm -rf /usr/libexec/gcc/${_triplet}
}
cross-x86_64-linux-musl-libc_package() {
short_desc+=" - libc files"
noarch=yes