mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-06-19 09:38:28 +02:00
build fix for kernels >= 2.6
This commit is contained in:
parent
da16867c84
commit
e7944efc45
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue