summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux-core/Makefile2
-rw-r--r--linux/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/Makefile b/linux-core/Makefile
index c82be8fd..040b4527 100644
--- a/linux-core/Makefile
+++ b/linux-core/Makefile
@@ -172,7 +172,7 @@ endif
endif
-ifeq ($(findstring 2.4,$(RUNNING_REL)),)
+ifneq ($(findstring 2.6,$(RUNNING_REL)),)
$(error Building 2.4 version on $(RUNNING_REL))
endif
diff --git a/linux/Makefile b/linux/Makefile
index c82be8fd..040b4527 100644
--- a/linux/Makefile
+++ b/linux/Makefile
@@ -172,7 +172,7 @@ endif
endif
-ifeq ($(findstring 2.4,$(RUNNING_REL)),)
+ifneq ($(findstring 2.6,$(RUNNING_REL)),)
$(error Building 2.4 version on $(RUNNING_REL))
endif