lint: Stop searching when one GNUmake is found

After make 3.81 is copied to /usr/local/bin, the old make 3.80, which
doesn't work for coreboot, will replace $MAKE with gnumake. That is not
we want.

Change-Id: I87fbe95c70228a22f2c233ff071df29639b63726
Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Signed-off-by: Zheng Bao <fishbaozi@gmail.com>
Reviewed-on: http://review.coreboot.org/1550
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
This commit is contained in:
Zheng Bao 2012-09-28 20:13:19 +08:00 committed by Patrick Georgi
parent 70c660fd14
commit 684b8ab309
1 changed files with 3 additions and 2 deletions

View File

@ -42,9 +42,10 @@ $MAKE CONFIG_USE_BLOBS=n CONFIG_CCACHE=n CONFIG_SCANBUILD_ENABLE=n NOMKDIR=1 \
}
# find GNU make
MAKE=
search_make make
search_make gmake
search_make gnumake
[ -z $MAKE ] && search_make gmake
[ -z $MAKE ] && search_make gnumake
if [ "$MAKE" = "" ]; then
echo Could not identify GNU make