diff options
-rw-r--r-- | v4l/Make.config | 2 | ||||
-rw-r--r-- | v4l/Makefile | 18 | ||||
-rw-r--r-- | v4l/scripts/merge-trees.sh | 2 |
3 files changed, 19 insertions, 3 deletions
diff --git a/v4l/Make.config b/v4l/Make.config index d60cb7b8a..efdd9e580 100644 --- a/v4l/Make.config +++ b/v4l/Make.config @@ -15,6 +15,7 @@ CONFIG_VIDEO_ALSA := n CONFIG_VIDEO_CX88_DVB := n CONFIG_VIDEO_SAA7134_DVB := n +CONFIG_DVB_BT8XX := n ifneq ($(KERNELRELEASE),) need_dvb = $(shell test $(SUBLEVEL) -ge 12 && echo yes) @@ -23,5 +24,6 @@ endif ifeq ($(need_dvb),yes) CONFIG_VIDEO_CX88_DVB := m CONFIG_VIDEO_SAA7134_DVB := m + CONFIG_DVB_BT8XX := n endif diff --git a/v4l/Makefile b/v4l/Makefile index 4d05c93b4..6765d41d1 100644 --- a/v4l/Makefile +++ b/v4l/Makefile @@ -47,8 +47,10 @@ obj-$(CONFIG_VIDEO_IR) += ir-common.o obj-$(CONFIG_VIDEO_TUNER) += tuner.o tda9887.o saa6588.o obj-$(CONFIG_VIDEO_TVAUDIO) += msp3400.o tvaudio.o tvmixer.o -obj-$(CONFIG_VIDEO_CX88_DVB) += video-buf-dvb.o cx88-dvb.o -obj-$(CONFIG_VIDEO_SAA7134_DVB) += video-buf-dvb.o saa7134-dvb.o +obj-$(CONFIG_VIDEO_CX88_DVB) += video-buf-dvb.o cx88-dvb.o cx22702.o dvb-pll.o or51132.o lgdt330x.o mt352.o +obj-$(CONFIG_VIDEO_SAA7134_DVB) += video-buf-dvb.o saa7134-dvb.o mt352.o tda1004x.o +obj-$(CONFIG_DVB_BT8XX) += bt878.o dvb-bt8xx.o dst.o dst_ca.o +obj-$(CONFIG_DVB_BT8XX) += mt352.o sp887x.o nxt6000.o cx24110.o or51211.o # 2.6-only stuff ifeq ($(VERSION).$(PATCHLEVEL),2.6) @@ -62,6 +64,7 @@ ifeq ($(VERSION).$(PATCHLEVEL),2.6) endif # for DVB +EXTRA_CFLAGS += -DDVB_CVS=1 EXTRA_CFLAGS += -I$(srctree)/drivers/media/dvb/dvb-core/ EXTRA_CFLAGS += -I$(srctree)/drivers/media/dvb/frontends/ ifeq ($(CONFIG_VIDEO_CX88_DVB),m) @@ -140,6 +143,9 @@ inst_video += ir-kbd-gpio.ko ir-kbd-i2c.ko msp3400.ko inst_cx88 := cx8800.ko cx8802.ko cx88-alsa.ko inst_cx88 += cx88-blackbird.ko cx88xx.ko cx88-dvb.ko inst_saa7134 := saa6752hs.ko saa7134.ko saa7134-empress.ko saa7134-dvb.ko +inst_bt8xx := bt878.ko dvb-bt8xx.ko dst.ko dst_ca.ko +inst_frontends := cx22702.ko dvb-pll.ko lgdt330x.ko or51132.ko tda1004x.ko +inst_frontends += mt352.ko sp887x.ko nxt6000.ko cx24110.ko or51211.ko v4l_modules := $(shell lsmod|cut -d' ' -f1 ) $(patsubst %.ko,%,$(inst-m)) @@ -159,6 +165,12 @@ install:: rminstall -install -d $(KDIR26)/common -install -m 644 -c $(inst_common) $(KDIR26)/common + -install -d $(KDIR26)/dvb/frontends + -install -m 644 -c $(inst_frontends) $(KDIR26)/dvb/frontends + + -install -d $(KDIR26)/dvb/bt8xx + -install -m 644 -c $(inst_bt8xx) $(KDIR26)/dvb/bt8xx + -install -d $(KDIR26)/video -install -m 644 -c $(inst_video) $(KDIR26)/video @@ -186,11 +198,13 @@ rminstall:: -@rm -r $(DEST) \ $(addprefix $(KDIR26)/common/, $(inst_common)) \ $(addprefix $(KDIR26)/dvb/frontends/, $(inst_frontends)) \ + $(addprefix $(KDIR26)/dvb/bt8xx/, $(inst_bt8xx)) \ $(addprefix $(KDIR26)/video/, $(inst_video)) \ $(addprefix $(KDIR26)/video/cx88/, $(inst_cx88)) \ $(addprefix $(KDIR26)/video/saa7134/, $(inst_saa7134)) \ $(addprefix $(KDIR26)/common/, $(addsuffix .gz,$(inst_common))) \ $(addprefix $(KDIR26)/dvb/frontends/, $(addsuffix .gz,$(inst_frontends))) \ + $(addprefix $(KDIR26)/dvb/bt8xx/, $(addsuffix .gz,$(inst_bt8xx))) \ $(addprefix $(KDIR26)/video/, $(addsuffix .gz,$(inst_video))) \ $(addprefix $(KDIR26)/video/cx88/, $(addsuffix .gz,$(inst_cx88))) \ $(addprefix $(KDIR26)/video/saa7134/, $(addsuffix .gz,$(inst_saa7134))) 2>/dev/null diff --git a/v4l/scripts/merge-trees.sh b/v4l/scripts/merge-trees.sh index 0d18ed125..34b803e1b 100644 --- a/v4l/scripts/merge-trees.sh +++ b/v4l/scripts/merge-trees.sh @@ -1,7 +1,7 @@ #!/bin/sh echo V4L: WARNING! bt8xx tree-merge is currently broken. dvb/bt8xx build -echo disabled. To force dvb-bt8xx, bt878 & dst build, edit Make.config +echo disabled. To force dvb-bt8xx, bt878 and dst build, edit Make.config echo If you need this feature to work, please use an older video4linux cvs: echo . echo cvs co -D 9/29/05 video4linux |