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:
parent
7c371f6a8c
commit
121af38dee
1 changed files with 1 additions and 6 deletions
|
|
@ -17,17 +17,12 @@ builddir="$HOME/build-rbdev"
|
|||
# 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 "gmake" command. Set the "make" variable accordingly.
|
||||
if [ -n "`which gmake`" ]; then
|
||||
if [ -f "`which gmake`" ]; then
|
||||
make="gmake"
|
||||
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"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue