From: Peter Korsgaard Date: Thu, 9 Feb 2012 21:58:05 +0000 (+0100) Subject: Makefile: fix old make check thinko X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8139e21c978d2c82f559849343ebcec3dd886607;p=buildroot.git Makefile: fix old make check thinko So it doesn't fail with 3.81. Signed-off-by: Peter Korsgaard --- diff --git a/Makefile b/Makefile index d3e861063c..25da853d18 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ export BR2_VERSION:=2012.02-git # Check for minimal make version (note: this check will break at make 10.x) MIN_MAKE_VERSION=3.81 -ifeq ($(firstword $(sort $(MAKE_VERSION) $(MIN_MAKE_VERSION))),$(MAKE_VERSION)) +ifneq ($(firstword $(sort $(MAKE_VERSION) $(MIN_MAKE_VERSION))),$(MIN_MAKE_VERSION)) $(error You have make '$(MAKE_VERSION)' installed. GNU make >= $(MIN_MAKE_VERSION) is required) endif