summaryrefslogtreecommitdiff
path: root/linux-core/Makefile.kernel
diff options
context:
space:
mode:
authorMichel Daenzer <michel@daenzer.net>2003-08-07 10:13:50 +0000
committerMichel Daenzer <michel@daenzer.net>2003-08-07 10:13:50 +0000
commite7944efc4550416ee53e2f570f759d4e6078834b (patch)
tree4d22e02365f7adf07c5ecc7588552ef656a8e072 /linux-core/Makefile.kernel
parentda16867c8433516c361944e6e4265bd511ac72c8 (diff)
build fix for kernels >= 2.6
Diffstat (limited to 'linux-core/Makefile.kernel')
-rw-r--r--linux-core/Makefile.kernel2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/Makefile.kernel b/linux-core/Makefile.kernel
index 5f79e430..e5abd4d3 100644
--- a/linux-core/Makefile.kernel
+++ b/linux-core/Makefile.kernel
@@ -23,7 +23,7 @@ BELOW25 := $(shell if [ $(PATCHLEVEL) -lt 5 ]; then echo y; fi)
# There were major build changes starting with 2.5.52
ifneq ($(BELOW25),y)
-BELOW2552 := $(shell if [ $(SUBLEVEL) -lt 52 ]; then echo y; fi)
+BELOW2552 := $(shell if [ $(PATCHLEVEL) -eq 5 -a $(SUBLEVEL) -lt 52 ]; then echo y; fi)
else
BELOW2552 := y
endif