Compare commits

..

5 Commits

Author SHA1 Message Date
Dave Murphy
5148cb347c update stlink & libnds 2017-02-06 19:01:45 +00:00
Dave Murphy
9e8a149558 parallel make breaks newlib install 2017-02-02 01:50:57 +00:00
Dave Murphy
c9109d8681 update gp32 tools 2017-02-02 01:12:34 +00:00
Dave Murphy
45b120b6e3 add to flags from environment 2017-02-02 01:12:06 +00:00
Dave Murphy
ce5d8243d4 move jobs configuration to config.sh 2017-02-01 21:16:35 +00:00
4 changed files with 17 additions and 14 deletions

View File

@@ -28,7 +28,7 @@ GENERAL_TOOLS_VER=1.0.0
LIBGBA_VER=0.5.0
GBATOOLS_VER=1.0.0
LIBNDS_VER=1.6.1
LIBNDS_VER=1.6.2
DEFAULT_ARM7_VER=0.7.0
DSWIFI_VER=0.4.0
MAXMOD_VER=1.0.10
@@ -41,7 +41,7 @@ DLDITOOL_VER=1.24.0
MMUTIL_VER=1.8.6
DFU_UTIL_VER=0.9.1
STLINK_VER=1.2.1
STLINK_VER=1.2.2
GAMECUBE_TOOLS_VER=1.0.1
LIBOGC_VER=1.8.16
@@ -53,7 +53,7 @@ TOOLS3DS_VER=1.1.4
LINK3DS_VER=0.5.1
PICASSO_VER=2.5.0
GP32_TOOLS_VER=1.0.1
GP32_TOOLS_VER=1.0.2
LIBMIRKO_VER=0.9.7
#---------------------------------------------------------------------------------

View File

@@ -24,6 +24,12 @@ BUILD_DKPRO_PACKAGE=0
#---------------------------------------------------------------------------------
#BUILD_DKPRO_SRCDIR=/d/projects/archives
#---------------------------------------------------------------------------------
# MAKEFLAGS for building - use number of processors for jobs
#---------------------------------------------------------------------------------
#numcores=`getconf _NPROCESSORS_ONLN`
#export MAKEFLAGS="$MAKEFLAGS -j${numcores}"
#---------------------------------------------------------------------------------
# Automated script execution
#---------------------------------------------------------------------------------
@@ -31,3 +37,4 @@ BUILD_DKPRO_PACKAGE=0
# 1: Use defaults, don't pause for answers
#---------------------------------------------------------------------------------
BUILD_DKPRO_AUTOMATED=0

View File

@@ -1,10 +1,6 @@
#!/bin/sh
#---------------------------------------------------------------------------------
numcores=`getconf _NPROCESSORS_ONLN`
numjobs=$(($numcores * 2 + 1))
#---------------------------------------------------------------------------------
# build and install binutils
#---------------------------------------------------------------------------------
@@ -24,7 +20,7 @@ fi
if [ ! -f built-binutils ]
then
$MAKE -j$numjobs || { echo "Error building binutils"; exit 1; }
$MAKE || { echo "Error building binutils"; exit 1; }
touch built-binutils
fi
@@ -74,7 +70,7 @@ fi
if [ ! -f built-gcc ]
then
$MAKE all-gcc -j$numjobs || { echo "Error building gcc stage1"; exit 1; }
$MAKE all-gcc || { echo "Error building gcc stage1"; exit 1; }
touch built-gcc
fi
@@ -109,14 +105,14 @@ fi
if [ ! -f built-newlib ]
then
$MAKE -j$numjobs || { echo "Error building newlib"; exit 1; }
$MAKE || { echo "Error building newlib"; exit 1; }
touch built-newlib
fi
if [ ! -f installed-newlib ]
then
$MAKE install || { echo "Error installing newlib"; exit 1; }
$MAKE install -j1 || { echo "Error installing newlib"; exit 1; }
touch installed-newlib
fi
@@ -130,7 +126,7 @@ cd $target/gcc
if [ ! -f built-stage2 ]
then
$MAKE all -j$numjobs || { echo "Error building gcc stage2"; exit 1; }
$MAKE all || { echo "Error building gcc stage2"; exit 1; }
touch built-stage2
fi
@@ -166,7 +162,7 @@ fi
if [ ! -f built-gdb ]
then
$MAKE -j$numjobs || { echo "Error building gdb"; exit 1; }
$MAKE || { echo "Error building gdb"; exit 1; }
touch built-gdb
fi

View File

@@ -142,7 +142,7 @@ then
fi
if [ ! -f installed-newlib ]
then
$MAKE install || { echo "Error installing newlib"; exit 1; }
$MAKE install -j1 || { echo "Error installing newlib"; exit 1; }
touch installed-newlib
fi