Skip to content

Commit ee0c0b0

Browse files
committed
allow skipping of libraries & tool building
1 parent ac90deb commit ee0c0b0

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

build-devkit.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ done
285285
#---------------------------------------------------------------------------------
286286
if [ -f $scriptdir/build-gcc.sh ]; then . $scriptdir/build-gcc.sh || { echo "Error building toolchain"; exit 1; }; cd $BUILDSCRIPTDIR; fi
287287

288-
if [ "$BUILD_DKPRO_SKIP_TOOLS" != 1 ] && [ -f $scriptdir/build-tools.sh ]; then
288+
if [ "$BUILD_DKPRO_SKIP_TOOLS" != "1" ] && [ -f $scriptdir/build-tools.sh ]; then
289289
. $scriptdir/build-tools.sh || { echo "Error building tools"; exit 1; }; cd $BUILDSCRIPTDIR;
290290
fi
291291

config.sh.sample

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,18 @@ BUILD_DKPRO_SKIP_LIBRARIES=0
3636
#numcores=`getconf _NPROCESSORS_ONLN`
3737
#export MAKEFLAGS="$MAKEFLAGS -j${numcores}"
3838

39+
40+
#---------------------------------------------------------------------------------
41+
# Uncomment to skip building of tools
42+
#---------------------------------------------------------------------------------
43+
#BUILD_DKPRO_SKIP_TOOLS=1
44+
3945
#---------------------------------------------------------------------------------
46+
# Uncomment to skip building of libraries
47+
#---------------------------------------------------------------------------------
48+
#BUILD_DKPRO_SKIP_LIBRARIES=1
49+
50+
4051
# Automated script execution
4152
#---------------------------------------------------------------------------------
4253
# 0: Ask to delete build folders & patched sources

0 commit comments

Comments
 (0)