summaryrefslogtreecommitdiff
path: root/v4l/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'v4l/Makefile')
-rw-r--r--v4l/Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/v4l/Makefile b/v4l/Makefile
index 2a1014781..d793acc80 100644
--- a/v4l/Makefile
+++ b/v4l/Makefile
@@ -32,6 +32,9 @@ em28xx-objs := em28xx-video.o em28xx-i2c.o em28xx-cards.o em28xx-core.o \
em28xx-input.o
cx25840-objs := cx25840-core.o cx25840-audio.o cx25840-firmware.o \
cx25840-vbi.o
+dvb-core-objs := dvbdev.o dmxdev.o dvb_demux.o dvb_filter.o \
+ dvb_ca_en50221.o dvb_frontend.o \
+ dvb_net.o dvb_ringbuffer.o
obj-m := video-buf.o v4l1-compat.o v4l2-common.o
obj-m += compat_ioctl32.o
@@ -64,6 +67,7 @@ obj-$(CONFIG_DVB_BT8XX_DST) += 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 nxt200x.o cx24123.o
+obj-$(CONFIG_DVB_CORE) += dvb-core.o
# 2.6-only stuff
ifeq ($(VERSION).$(PATCHLEVEL),2.6)
@@ -181,6 +185,7 @@ endif
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
inst_frontends += nxt200x.ko cx24123.ko
+inst_dvb-core := dvb-core.ko
v4l_modules := $(shell /sbin/lsmod|cut -d' ' -f1 ) $(patsubst %.ko,%,$(inst-m))
@@ -203,6 +208,8 @@ links::
dvb-links::
@find ../linux/drivers/media/dvb/frontends -name '*.[c,h]' -type l -exec ln -sf '{}' . \;
@find ../linux/drivers/media/dvb/bt8xx -name '*.[c,h]' -type l -exec ln -sf '{}' . \;
+ @find ../linux/drivers/media/dvb/dvb-core -name '*.[c,h]' -type l -exec ln -sf '{}' . \;
+ @find ../linux/include/linux/dvb -name '*.h' -type l -exec ln -sf '{}' . \;
install:: rminstall
@echo -e "\nInstalling new V4L modules at corresponding Kernel dir..."
@@ -259,6 +266,9 @@ dvb-install:: dvb-rminstall
install -d $(KDIR26)/dvb/bt8xx
install -m 644 -c $(inst_bt8xx) $(KDIR26)/dvb/bt8xx
+ install -d $(KDIR26)/dvb/dvb-core
+ install -m 644 -c $(inst_dvb-core) $(KDIR26)/dvb/dvb-core
+
/sbin/depmod -a
dvb-rminstall::
@@ -267,8 +277,10 @@ dvb-rminstall::
-@rm -r $(DEST) \
$(addprefix $(KDIR26)/dvb/bt8xx/, $(inst_bt8xx)) \
$(addprefix $(KDIR26)/dvb/frontends/, $(inst_frontends)) \
+ $(addprefix $(KDIR26)/dvb/dvb-core/, $(inst_dvb-core)) \
$(addprefix $(KDIR26)/dvb/bt8xx/, $(addsuffix .gz,$(inst_bt8xx))) \
- $(addprefix $(KDIR26)/dvb/frontends/, $(addsuffix .gz,$(inst_frontends))) 2>/dev/null
+ $(addprefix $(KDIR26)/dvb/frontends/, $(addsuffix .gz,$(inst_frontends))) \
+ $(addprefix $(KDIR26)/dvb/dvb-core/, $(addsuffix .gz,$(inst_dvb-core))) 2>/dev/null
@echo
rminstall::