Build wird jetzt ausserhalb des sourcetrees gemacht. Das Vermeidet den "Distclean" Error

git-svn-id: svn://svn.compuextreme.de/Viitor/V962/ViitorMake@5789 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
kueller 2010-08-15 13:53:09 +00:00
parent 20ef5a7569
commit b2de5a6839

View File

@ -75,7 +75,8 @@ SRCPATH=Network/Clients
premk() {
echo "Nothing to do for premk()"
mkdir ../build-curl
cd ../build-curl
}
mk32() {
@ -83,15 +84,18 @@ mk32() {
CC="gcc $BUILDOPTIONS32" \
CXX="g++ $BUILDOPTIONS32" \
USE_ARCH=$UARCH \
./configure --host=$TARGET32 \
../curl*/configure --host=$TARGET32 \
--prefix=/usr \
--with-gnu-ld \
--with-ssl &&
make -j $NUMCPU &&
make -j $NUMCPU DESTDIR=$TMPROOT install &&
CheckError "Make install process failed !" 1
make distclean
mv $TMPROOT/usr/bin/curl-config{,-32}
cd ../curl*
rm -r ../build-curl
mkdir ../build-curl
cd ../build-curl
}
mk() {
@ -101,7 +105,7 @@ mk() {
CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \
USE_ARCH=$UARCH \
./configure --host=$TARGET \
../curl*/configure --host=$TARGET \
$ADDOPTIONS \
--prefix=/usr \
--with-gnu-ld \
@ -109,6 +113,8 @@ mk() {
make -j $NUMCPU &&
make -j $NUMCPU DESTDIR=$TMPROOT install &&
CheckError "Make install process failed !" 1
cd ../curl*
rm -r ../build-curl
}
postmk() {