summaryrefslogtreecommitdiff
path: root/tools/rockboxdev.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/rockboxdev.sh')
-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"