diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/rockboxdev.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/rockboxdev.sh b/tools/rockboxdev.sh index 897c6f8652..508b1ad12e 100755 --- a/tools/rockboxdev.sh +++ b/tools/rockboxdev.sh | |||
@@ -24,9 +24,9 @@ builddir="${RBDEV_BUILD:-/tmp/rbdev-build}" | |||
24 | # by running the "make" command, on most BSD systems, GNU Make is invoked | 24 | # by running the "make" command, on most BSD systems, GNU Make is invoked |
25 | # by running the "gmake" command. Set the "make" variable accordingly. | 25 | # by running the "gmake" command. Set the "make" variable accordingly. |
26 | if [ -f "`which gmake 2>/dev/null`" ]; then | 26 | if [ -f "`which gmake 2>/dev/null`" ]; then |
27 | make="gmake -r" | 27 | make="gmake" |
28 | else | 28 | else |
29 | make="make -r" | 29 | make="make" |
30 | fi | 30 | fi |
31 | 31 | ||
32 | if [ -z $GNU_MIRROR ] ; then | 32 | if [ -z $GNU_MIRROR ] ; then |
@@ -295,7 +295,9 @@ echo "ROCKBOXDEV: binutils/configure" | |||
295 | # Ubuntu installations | 295 | # Ubuntu installations |
296 | CFLAGS=-U_FORTIFY_SOURCE ../binutils-$binutils/configure --target=$target --prefix=$prefix/$target $binutilsconf | 296 | CFLAGS=-U_FORTIFY_SOURCE ../binutils-$binutils/configure --target=$target --prefix=$prefix/$target $binutilsconf |
297 | echo "ROCKBOXDEV: binutils/make" | 297 | echo "ROCKBOXDEV: binutils/make" |
298 | $make | 298 | # We add -r when building binutils to fix compilation on OSX - Apple's make has |
299 | # extra built-ins which cause problems. | ||
300 | $make -r | ||
299 | echo "ROCKBOXDEV: binutils/make install to $prefix/$target" | 301 | echo "ROCKBOXDEV: binutils/make install to $prefix/$target" |
300 | $make install | 302 | $make install |
301 | cd .. # get out of build-binu-$1 | 303 | cd .. # get out of build-binu-$1 |