mirror of
https://github.com/pygos/build.git
synced 2024-11-05 03:27:10 +01:00
cleanup: remove manual output directory clensing from tc-gcc2
We explicitly list every file that should be packaged, no need to manually go over the ones we don't want. Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
This commit is contained in:
parent
706d4ac29f
commit
2afd8fc20b
1 changed files with 1 additions and 19 deletions
|
@ -32,27 +32,9 @@ deploy() {
|
|||
|
||||
make install
|
||||
|
||||
local f dep
|
||||
|
||||
for f in $(ls ${TCDIR}/${TARGET}/include); do
|
||||
for dep in $DEPENDS; do
|
||||
if [ -e ${PKGDEPLOYDIR}/${dep}/include/$f ]; then
|
||||
rm -rf "$TCDIR/$TARGET/include/$f"
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
||||
for f in $(ls ${TCDIR}/${TARGET}/lib); do
|
||||
for dep in $DEPENDS; do
|
||||
if [ -e ${PKGDEPLOYDIR}/${dep}/lib/$f ]; then
|
||||
rm -rf "$TCDIR/$TARGET/lib/$f"
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
||||
mkdir -p "$DEPLOY/lib"
|
||||
mv ${TCDIR}/${TARGET}/{include,lib} "$DEPLOY"
|
||||
rm ${DEPLOY}/lib/*.la
|
||||
deploy_dev_cleanup "$DEPLOY"
|
||||
cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$DEPLOY"
|
||||
|
||||
cat >> "$DEPLOY/libstdc++-dev.files" <<_EOF
|
||||
|
|
Loading…
Reference in a new issue