summaryrefslogtreecommitdiff
path: root/xc/programs/Xserver/hw
diff options
context:
space:
mode:
authormdaenzer <mdaenzer>2003-08-07 10:13:50 +0000
committermdaenzer <mdaenzer>2003-08-07 10:13:50 +0000
commit5e6f6e8cdbfdb7169b4981b5a001148f2971473e (patch)
treed3bfa5793356c01671bb54f400665d67fb87ea93 /xc/programs/Xserver/hw
parent7574c19aff4da10eb911e2392e91a2ab1a6bc5a0 (diff)
build fix for kernels >= 2.6
Diffstat (limited to 'xc/programs/Xserver/hw')
-rw-r--r--xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/Makefile.kernel2
1 files changed, 1 insertions, 1 deletions
diff --git a/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/Makefile.kernel b/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/Makefile.kernel
index 5f79e430a..e5abd4d3d 100644
--- a/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/Makefile.kernel
+++ b/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/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