remove unnecessary safe_remove

these files/folders are excluded in script/install
This commit is contained in:
Tomáš Kelemen (vudiq) 2022-03-29 21:32:47 +02:00
parent 7a4c97274f
commit 46e407db1e
No known key found for this signature in database
GPG Key ID: 5CE55E600E0B3B22
4 changed files with 0 additions and 32 deletions

View File

@ -39,9 +39,4 @@ fi
post_makeinstall_target() {
rm -rf ${INSTALL}/usr/bin
if [ "${DISTRO}" = "Lakka" ]; then
safe_remove ${INSTALL}/usr/include
safe_remove ${INSTALL}/usr/lib/pkgconfig
safe_remove ${INSTALL}/usr/share
fi
}

View File

@ -17,11 +17,3 @@ PKG_CMAKE_OPTS_TARGET="-DINSTALL_DOCS=OFF"
if [ "${DISTRO}" = "Lakka" ]; then
PKG_CMAKE_OPTS_TARGET+=" -DBUILD_SHARED_LIBS=ON"
fi
post_makeinstall_target() {
if [ "${DISTRO}" = "Lakka" ]; then
safe_remove ${INSTALL}/usr/include
safe_remove ${INSTALL}/usr/lib/cmake
safe_remove ${INSTALL}/usr/lib/pkgconfig
fi
}

View File

@ -29,12 +29,3 @@ PKG_CMAKE_OPTS_TARGET="-DBUILD_PROGRAMS=OFF \
if [ "${DISTRO}" = "Lakka" ]; then
PKG_CMAKE_OPTS_TARGET+=" -DBUILD_SHARED_LIBS=ON"
fi
post_makeinstall_target() {
if [ "${DISTRO}" = "Lakka" ]; then
safe_remove ${INSTALL}/usr/include
safe_remove ${INSTALL}/usr/lib/cmake
safe_remove ${INSTALL}/usr/share
safe_remove ${INSTALL}/usr/lib/pkgconfig
fi
}

View File

@ -23,13 +23,3 @@ PKG_CONFIGURE_OPTS_TARGET="--enable-static \
if [ "${DISTRO}" = "Lakka" ]; then
PKG_CONFIGURE_OPTS_TARGET="${PKG_CONFIGURE_OPTS_TARGET//--disable-shared/--enable-shared}"
fi
post_makeinstall_target() {
if [ "${DISTRO}" = "Lakka" ]; then
safe_remove ${INSTALL}/usr/include
safe_remove ${INSTALL}/usr/lib/pkgconfig
safe_remove ${INSTALL}/usr/lib/*.a
safe_remove ${INSTALL}/usr/lib/*.la
safe_remove ${INSTALL}/usr/share
fi
}