1
0
Fork 0
forked from len0rd/rockbox

Simpler fix for rockboxdev.sh make/gmake detection in Mac OS X/Darwin.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14307 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Barry Wardell 2007-08-13 00:43:01 +00:00
parent 7c371f6a8c
commit 121af38dee

View file

@ -17,17 +17,12 @@ builddir="$HOME/build-rbdev"
# This script needs to use GNU Make. On Linux systems, GNU Make is invoked # This script needs to use GNU Make. On Linux systems, GNU Make is invoked
# by running the "make" command, on most BSD systems, GNU Make is invoked # by running the "make" command, on most BSD systems, GNU Make is invoked
# by running the "gmake" command. Set the "make" variable accordingly. # by running the "gmake" command. Set the "make" variable accordingly.
if [ -n "`which gmake`" ]; then if [ -f "`which gmake`" ]; then
make="gmake" make="gmake"
else else
make="make" make="make"
fi 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: # If detection fails, override the value of make manually:
# make="make" # make="make"