From 7c371f6a8c2d7961933bd7d0ca0bf954d9eea66b Mon Sep 17 00:00:00 2001 From: Barry Wardell Date: Mon, 13 Aug 2007 00:10:00 +0000 Subject: 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 --- tools/rockboxdev.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tools') 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" -- cgit