summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Smirl <jonsmirl@yahoo.com>2004-09-27 15:42:48 +0000
committerJon Smirl <jonsmirl@yahoo.com>2004-09-27 15:42:48 +0000
commit77fa7b9548bf7a5bf5e49515f1a478c27ede07a7 (patch)
treeddada155865bb96d9238fad012bbb50f7d5ecdd5
parentedbfb46c0bfcc2a5a20d9f23d7088a4acce52b8d (diff)
Flip the 2.4 check so that it looks for 2.6 instead. This will allow builds
where we can't determine the version through.
-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