]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
Makefile: fix old make check thinko
authorPeter Korsgaard <jacmet@sunsite.dk>
Thu, 9 Feb 2012 21:58:05 +0000 (22:58 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 9 Feb 2012 21:59:20 +0000 (22:59 +0100)
So it doesn't fail with 3.81.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Makefile

index d3e861063c7cbd70562fdd5e03092bfdc2f850df..25da853d180a14d39d76ef6ea7a65eb227e54db4 100644 (file)
--- 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