OSDN Git Service

build fix for kernels >= 2.6
authorMichel Daenzer <michel@daenzer.net>
Thu, 7 Aug 2003 10:13:50 +0000 (10:13 +0000)
committerMichel Daenzer <michel@daenzer.net>
Thu, 7 Aug 2003 10:13:50 +0000 (10:13 +0000)
linux-core/Makefile.kernel
linux/Makefile.kernel

index 5f79e43..e5abd4d 100644 (file)
@@ -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
index 5f79e43..e5abd4d 100644 (file)
@@ -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