summaryrefslogtreecommitdiff
path: root/v4l/Make.config
diff options
context:
space:
mode:
Diffstat (limited to 'v4l/Make.config')
-rw-r--r--v4l/Make.config8
1 files changed, 4 insertions, 4 deletions
diff --git a/v4l/Make.config b/v4l/Make.config
index 9e642f557..22f0dfece 100644
--- a/v4l/Make.config
+++ b/v4l/Make.config
@@ -13,11 +13,11 @@ CONFIG_VIDEO_CX88 := m
CONFIG_VIDEO_CX88_DVB := n
CONFIG_VIDEO_SAA7134_DVB := n
-ifeq ($(SUBLEVEL),12)
- CONFIG_VIDEO_CX88_DVB := m
- CONFIG_VIDEO_SAA7134_DVB := m
+ifneq ($(KERNELRELEASE),)
+need_dvb = $(shell test $(SUBLEVEL) -ge 12 && echo yes)
endif
-ifeq ($(SUBLEVEL),13)
+
+ifeq ($(need_dvb),yes)
CONFIG_VIDEO_CX88_DVB := m
CONFIG_VIDEO_SAA7134_DVB := m
endif