summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2007-08-13 00:10:00 +0000
committerBarry Wardell <rockbox@barrywardell.net>2007-08-13 00:10:00 +0000
commit7c371f6a8c2d7961933bd7d0ca0bf954d9eea66b (patch)
tree6c53faa0c5d937638d830b9d5049c4622c8c6821 /tools
parent4a934ac91f3777e8bf27b71bf4d0850e882eca92 (diff)
downloadrockbox-7c371f6a8c2d7961933bd7d0ca0bf954d9eea66b.tar.gz
rockbox-7c371f6a8c2d7961933bd7d0ca0bf954d9eea66b.tar.bz2
rockbox-7c371f6a8c2d7961933bd7d0ca0bf954d9eea66b.zip
Accept FS#6499 - fix rockboxdev.sh make/gmake detection in Mac OS X/Darwin. Thanks to Lenny Koepsell.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14306 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/rockboxdev.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/rockboxdev.sh b/tools/rockboxdev.sh
index 7bfd7840c9..a927afef99 100755
--- a/tools/rockboxdev.sh
+++ b/tools/rockboxdev.sh
@@ -23,6 +23,11 @@ else
make="make"
fi
+# Alternate detection for Mac OS X/Darwin
+if [ "`uname`" == "Darwin" ] && which gmake | grep -q '^no'; then
+ make="make"
+fi
+
# If detection fails, override the value of make manually:
# make="make"