summaryrefslogtreecommitdiff
path: root/v4l/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'v4l/Makefile')
-rw-r--r--v4l/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/v4l/Makefile b/v4l/Makefile
index 9190f4fb6..f51050876 100644
--- a/v4l/Makefile
+++ b/v4l/Makefile
@@ -52,6 +52,10 @@ 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_DVB_BT8XX) += bt878.o dvb-bt8xx.o dst.o dst_ca.o
+obj-$(CONFIG_DVB_FRONTENDS) += cx22702.o dvb-pll.o or51132.o lgdt330x.o \
+ mt352.o tda1004x.o sp887x.o nxt6000.o \
+ cx24110.o or51211.o
# 2.6-only stuff
ifeq ($(VERSION).$(PATCHLEVEL),2.6)
@@ -148,6 +152,9 @@ 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_usb := em2820.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))
@@ -204,6 +211,28 @@ merge-trees:
unmerge-trees:
@scripts/unmerge-trees.sh
+dvb-install:: dvb-rminstall
+ @echo -e "\nInstalling new DVB modules at corresponding Kernel dir..."
+
+ @strip --strip-debug $(inst-m)
+
+ 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
+
+ /sbin/depmod -a
+
+dvb-rminstall::
+ @echo -e "\nEliminating old DVB modules (errors on this step is not a problem).."
+
+ -@rm -r $(DEST) \
+ $(addprefix $(KDIR26)/dvb/bt8xx/, $(inst_bt8xx)) \
+ $(addprefix $(KDIR26)/dvb/bt8xx/, $(addsuffix .gz,$(inst_bt8xx))) \
+ $(addprefix $(KDIR26)/dvb/frontends/, $(addsuffix .gz,$(inst_frontends))) 2>/dev/null
+ @echo
+
rminstall::
@echo -e "\nEliminating old V4L modules (errors on this step is not a problem).."