allow for skipping target libraries

This commit is contained in:
Dave Murphy 2018-02-14 19:01:22 +00:00
parent c8a4625d58
commit 6b96e9cd37
3 changed files with 10 additions and 1 deletions

View File

@ -284,7 +284,10 @@ done
#---------------------------------------------------------------------------------
if [ -f $scriptdir/build-gcc.sh ]; then . $scriptdir/build-gcc.sh || { echo "Error building toolchain"; exit 1; }; cd $BUILDSCRIPTDIR; fi
if [ -f $scriptdir/build-tools.sh ]; then . $scriptdir/build-tools.sh || { echo "Error building tools"; exit 1; }; cd $BUILDSCRIPTDIR; fi
if [ -f $scriptdir/build-crtls.sh ]; then . $scriptdir/build-crtls.sh || { echo "Error building crtls"; exit 1; }; cd $BUILDSCRIPTDIR; fi
if [ "$BUILD_DKPRO_SKIP_LIBRARIES" != "1" ] ; then
if [ -f $scriptdir/build-libs.sh ]; then . $scriptdir/build-libs.sh || { echo "Error building libraries"; exit 1; }; cd $BUILDSCRIPTDIR; fi
fi
if [ ! -z $CROSSBUILD ]; then
cp -v $CROSSBINPATH/*.dll $CROSSLIBPATH/*.dll $prefix/bin

View File

@ -24,6 +24,12 @@ BUILD_DKPRO_PACKAGE=0
#---------------------------------------------------------------------------------
#BUILD_DKPRO_SRCDIR=~/projects/archives
#---------------------------------------------------------------------------------
# skip building the target libraries
#---------------------------------------------------------------------------------
BUILD_DKPRO_SKIP_LIBRARIES=0
#---------------------------------------------------------------------------------
# MAKEFLAGS for building - use number of processors for jobs
#---------------------------------------------------------------------------------