diff options
author | Michael Krufky <devnull@localhost> | 2005-11-25 17:41:45 +0000 |
---|---|---|
committer | Michael Krufky <devnull@localhost> | 2005-11-25 17:41:45 +0000 |
commit | bc8f68de46e8dbedd68a4b81a0c48937cab7a1fd (patch) | |
tree | 8c6cc20f886c671aea150ab291b0e6e733e8011d /v4l | |
parent | 9d5d1e7d5be3ca3942b80922d03eddb5ce3e84a9 (diff) | |
download | mediapointer-dvb-s2-bc8f68de46e8dbedd68a4b81a0c48937cab7a1fd.tar.gz mediapointer-dvb-s2-bc8f68de46e8dbedd68a4b81a0c48937cab7a1fd.tar.bz2 |
Add all remaining dvb modules into merge-trees build
- add install configuration for dvb-kernel modules to Makefile.
- enable all remaining dvb-kernel modules in merge-trees build environment.
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Diffstat (limited to 'v4l')
-rw-r--r-- | v4l/Makefile | 35 | ||||
-rw-r--r-- | v4l/scripts/merge-trees.sh | 41 | ||||
-rw-r--r-- | v4l/scripts/unmerge-trees.sh | 41 |
3 files changed, 101 insertions, 16 deletions
diff --git a/v4l/Makefile b/v4l/Makefile index 8d2bfe69a..3ea26df73 100644 --- a/v4l/Makefile +++ b/v4l/Makefile @@ -244,6 +244,20 @@ inst_frontends += bcm3510.ko dib3000mb.ko dib3000mc.ko ves1820.ko inst_frontends += cx22700.ko tda8083.ko ves1x93.ko stv0297.ko sp8870.ko inst_frontends += l64781.ko s5h1420.ko tda10021.o inst_dvb-core := dvb-core.ko +ifeq ($(CONFIG_VIDEO_SAA7146),m) + inst_common += saa7146.ko saa7146_vv.ko +endif +inst_b2c2 := b2c2-flexcop.ko b2c2-flexcop-pci.ko b2c2-flexcop-usb.ko +inst_cinergyT2 := cinergyT2.ko +inst_dvb-usb := dvb-usb.ko dvb-usb-vp7045.ko dvb-usb-vp702x.ko +inst_dvb-usb += dvb-usb-dtt200u.ko dvb-usb-a800.ko dvb-usb-dibusb-mb.ko +inst_dvb-usb += dvb-usb-dibusb-mc.ko dvb-usb-nova-t-usb2.ko +inst_dvb-usb += dvb-usb-umt-010.ko dvb-usb-digitv.ko dvb-usb-cxusb.ko +inst_pluto2 := pluto2.ko +inst_ttpci := budget-core.ko budget.ko ttpci-eeprom.ko budget-av.ko +inst_ttpci += budget-ci.ko budget-patch.ko dvb-ttpci.ko +inst_ttusb-budget := dvb-ttusb-budget.o +inst_ttusb-dec := ttusb_dec.ko ttusbdecfe.ko v4l_modules := $(shell /sbin/lsmod|cut -d' ' -f1 ) $(patsubst %.ko,%,$(inst-m)) @@ -326,6 +340,27 @@ dvb-install:: dvb-rminstall install -d $(KDIR26)/dvb/dvb-core install -m 644 -c $(inst_dvb-core) $(KDIR26)/dvb/dvb-core + install -d $(KDIR26)/dvb/b2c2 + install -m 644 -c $(inst_b2c2) $(KDIR26)/dvb/b2c2 + + install -d $(KDIR26)/dvb/cinergyT2 + install -m 644 -c $(inst_cinergyT2) $(KDIR26)/dvb/cinergyT2 + + install -d $(KDIR26)/dvb/dvb-usb + install -m 644 -c $(inst_dvb-usb) $(KDIR26)/dvb/dvb-usb + + install -d $(KDIR26)/dvb/pluto2 + install -m 644 -c $(inst_pluto2) $(KDIR26)/dvb/pluto2 + + install -d $(KDIR26)/dvb/ttpci + install -m 644 -c $(inst_ttpci) $(KDIR26)/dvb/ttpci + + install -d $(KDIR26)/dvb/ttusb-budget + install -m 644 -c $(inst_ttusb-budget) $(KDIR26)/dvb/ttusb-budget + + install -d $(KDIR26)/dvb/ttusb-dec + install -m 644 -c $(inst_ttusb-dec) $(KDIR26)/dvb/ttusb-dec + /sbin/depmod -a dvb-rminstall:: diff --git a/v4l/scripts/merge-trees.sh b/v4l/scripts/merge-trees.sh index 56a24bc28..0fc294416 100644 --- a/v4l/scripts/merge-trees.sh +++ b/v4l/scripts/merge-trees.sh @@ -29,7 +29,7 @@ patch -p2 <<'DIFF' diff -up v4l-kernel.orig/v4l/Make.config v4l-kernel/v4l/Make.config --- v4l-kernel.orig/v4l/Make.config 2005-10-08 17:31:57.000000000 -0400 +++ v4l-kernel/v4l/Make.config 2005-10-08 17:46:08.000000000 -0400 -@@ -37,5 +37,9 @@ endif +@@ -62,5 +62,34 @@ endif ifeq ($(CONFIG_VIDEO_BUF_DVB),m) CONFIG_VIDEO_CX88_DVB := m CONFIG_VIDEO_SAA7134_DVB := m @@ -37,12 +37,37 @@ diff -up v4l-kernel.orig/v4l/Make.config v4l-kernel/v4l/Make.config + CONFIG_DVB_BT8XX_DST := m + CONFIG_DVB_FRONTENDS := m + CONFIG_DVB_CORE := m ++ CONFIG_DVB_B2C2_FLEXCOP := m ++ CONFIG_DVB_B2C2_FLEXCOP_PCI := m ++ CONFIG_DVB_B2C2_FLEXCOP_USB := m ++ CONFIG_DVB_CINERGYT2 := m ++ CONFIG_DVB_USB := m ++ CONFIG_DVB_USB_VP7045 := m ++ CONFIG_DVB_USB_VP702X := m ++ CONFIG_DVB_USB_DTT200U := m ++ CONFIG_DVB_USB_A800 := m ++ CONFIG_DVB_USB_DIBUSB_MB := m ++ CONFIG_DVB_USB_DIBUSB_MC := m ++ CONFIG_DVB_USB_NOVA_T_USB2 := m ++ CONFIG_DVB_USB_UMT_010 := m ++ CONFIG_DVB_USB_DIGITV := m ++ CONFIG_DVB_USB_CXUSB := m ++ CONFIG_DVB_PLUTO2 := m ++ CONFIG_DVB_BUDGET := m ++ CONFIG_DVB_BUDGET_AV := m ++ CONFIG_DVB_BUDGET_CI := m ++ CONFIG_DVB_BUDGET_PATCH := m ++ CONFIG_DVB_AV7110 := m ++ CONFIG_DVB_TTUSB_BUDGET := m ++ CONFIG_DVB_TTUSB_DEC := m ++ CONFIG_VIDEO_SAA7146 := m ++ CONFIG_VIDEO_SAA7146_VV := m endif diff -up v4l-kernel.orig/v4l/Makefile v4l-kernel/v4l/Makefile --- v4l-kernel.orig/v4l/Makefile 2005-10-08 17:31:57.000000000 -0400 +++ v4l-kernel/v4l/Makefile 2005-10-08 17:45:48.000000000 -0400 -@@ -85,6 +85,7 @@ ifeq ($(VERSION).$(PATCHLEVEL),2.6) +@@ -140,6 +140,7 @@ ifeq ($(VERSION).$(PATCHLEVEL),2.6) endif # for DVB @@ -50,7 +75,7 @@ diff -up v4l-kernel.orig/v4l/Makefile v4l-kernel/v4l/Makefile EXTRA_CFLAGS += -I$(srctree)/drivers/media/dvb/dvb-core/ EXTRA_CFLAGS += -I$(srctree)/drivers/media/dvb/frontends/ ifeq ($(CONFIG_VIDEO_CX88_DVB),m) -@@ -197,7 +195,7 @@ export LC_ALL +@@ -269,7 +267,7 @@ export LC_ALL default:: links .version $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) $(MYCFLAGS) modules @@ -59,16 +84,16 @@ diff -up v4l-kernel.orig/v4l/Makefile v4l-kernel/v4l/Makefile @echo creating symbolic links... @find ../linux/drivers/media/video -name '*.[c,h]' -type f -exec ln -sf '{}' . \; -@@ -211,7 +212,7 @@ links:: - @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 '{}' . \; +@@ -282,7 +283,7 @@ links:: + @find ../linux/drivers/media/dvb -name '*.[c,h]' -type l -exec ln -sf '{}' . \; + @find ../linux/include -name '*.h' -type l -exec ln -sf '{}' . \; -install:: rminstall +install:: rminstall dvb-install @echo -e "\nInstalling new V4L modules at corresponding Kernel dir..." @strip --strip-debug $(inst-m) -@@ -283,7 +284,7 @@ dvb-rminstall:: +@@ -375,7 +376,7 @@ dvb-rminstall:: $(addprefix $(KDIR26)/dvb/dvb-core/, $(addsuffix .gz,$(inst_dvb-core))) 2>/dev/null @echo @@ -77,7 +102,7 @@ diff -up v4l-kernel.orig/v4l/Makefile v4l-kernel/v4l/Makefile @echo -e "\nEliminating old V4L modules (errors on this step is not a problem).." -@rm -r $(DEST) \ -@@ -304,7 +305,7 @@ rminstall:: +@@ -396,7 +397,7 @@ rminstall:: rmmodules:: rmmod -w $(shell echo "$(v4l_modules)"|sed s,' ','\n',g|sed s,'-','_',g|sort|uniq -d) diff --git a/v4l/scripts/unmerge-trees.sh b/v4l/scripts/unmerge-trees.sh index 96f8b395e..aa4fd1974 100644 --- a/v4l/scripts/unmerge-trees.sh +++ b/v4l/scripts/unmerge-trees.sh @@ -10,7 +10,7 @@ patch -p2 <<'DIFF' diff -up v4l-kernel/v4l/Make.config v4l-kernel.orig/v4l/Make.config --- v4l-kernel/v4l/Make.config 2005-10-08 17:46:08.000000000 -0400 +++ v4l-kernel.orig/v4l/Make.config 2005-10-08 17:31:57.000000000 -0400 -@@ -37,9 +37,5 @@ endif +@@ -62,34 +62,5 @@ endif ifeq ($(CONFIG_VIDEO_BUF_DVB),m) CONFIG_VIDEO_CX88_DVB := m CONFIG_VIDEO_SAA7134_DVB := m @@ -18,12 +18,37 @@ diff -up v4l-kernel/v4l/Make.config v4l-kernel.orig/v4l/Make.config - CONFIG_DVB_BT8XX_DST := m - CONFIG_DVB_FRONTENDS := m - CONFIG_DVB_CORE := m +- CONFIG_DVB_B2C2_FLEXCOP := m +- CONFIG_DVB_B2C2_FLEXCOP_PCI := m +- CONFIG_DVB_B2C2_FLEXCOP_USB := m +- CONFIG_DVB_CINERGYT2 := m +- CONFIG_DVB_USB := m +- CONFIG_DVB_USB_VP7045 := m +- CONFIG_DVB_USB_VP702X := m +- CONFIG_DVB_USB_DTT200U := m +- CONFIG_DVB_USB_A800 := m +- CONFIG_DVB_USB_DIBUSB_MB := m +- CONFIG_DVB_USB_DIBUSB_MC := m +- CONFIG_DVB_USB_NOVA_T_USB2 := m +- CONFIG_DVB_USB_UMT_010 := m +- CONFIG_DVB_USB_DIGITV := m +- CONFIG_DVB_USB_CXUSB := m +- CONFIG_DVB_PLUTO2 := m +- CONFIG_DVB_BUDGET := m +- CONFIG_DVB_BUDGET_AV := m +- CONFIG_DVB_BUDGET_CI := m +- CONFIG_DVB_BUDGET_PATCH := m +- CONFIG_DVB_AV7110 := m +- CONFIG_DVB_TTUSB_BUDGET := m +- CONFIG_DVB_TTUSB_DEC := m +- CONFIG_VIDEO_SAA7146 := m +- CONFIG_VIDEO_SAA7146_VV := m endif diff -up v4l-kernel/v4l/Makefile v4l-kernel.orig/v4l/Makefile --- v4l-kernel/v4l/Makefile 2005-10-08 17:45:48.000000000 -0400 +++ v4l-kernel.orig/v4l/Makefile 2005-10-08 17:31:57.000000000 -0400 -@@ -85,7 +85,6 @@ ifeq ($(VERSION).$(PATCHLEVEL),2.6) +@@ -140,7 +140,6 @@ ifeq ($(VERSION).$(PATCHLEVEL),2.6) endif # for DVB @@ -31,7 +56,7 @@ diff -up v4l-kernel/v4l/Makefile v4l-kernel.orig/v4l/Makefile EXTRA_CFLAGS += -I$(srctree)/drivers/media/dvb/dvb-core/ EXTRA_CFLAGS += -I$(srctree)/drivers/media/dvb/frontends/ ifeq ($(CONFIG_VIDEO_CX88_DVB),m) -@@ -198,7 +197,7 @@ export LC_ALL +@@ -270,7 +269,7 @@ export LC_ALL default:: links .version $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) $(MYCFLAGS) modules @@ -40,16 +65,16 @@ diff -up v4l-kernel/v4l/Makefile v4l-kernel.orig/v4l/Makefile @echo creating symbolic links... @find ../linux/drivers/media/video -name '*.[c,h]' -type f -exec ln -sf '{}' . \; -@@ -212,7 +211,7 @@ links:: - @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 '{}' . \; +@@ -283,7 +284,7 @@ links:: + @find ../linux/drivers/media/dvb -name '*.[c,h]' -type l -exec ln -sf '{}' . \; + @find ../linux/include -name '*.h' -type l -exec ln -sf '{}' . \; -install:: rminstall dvb-install +install:: rminstall @echo -e "\nInstalling new V4L modules at corresponding Kernel dir..." @strip --strip-debug $(inst-m) -@@ -284,7 +283,7 @@ dvb-rminstall:: +@@ -376,7 +375,7 @@ dvb-rminstall:: $(addprefix $(KDIR26)/dvb/dvb-core/, $(addsuffix .gz,$(inst_dvb-core))) 2>/dev/null @echo @@ -58,7 +83,7 @@ diff -up v4l-kernel/v4l/Makefile v4l-kernel.orig/v4l/Makefile @echo -e "\nEliminating old V4L modules (errors on this step is not a problem).." -@rm -r $(DEST) \ -@@ -305,7 +306,7 @@ rminstall:: dvb-rminstall +@@ -397,7 +398,7 @@ rminstall:: dvb-rminstall rmmodules:: rmmod -w $(shell echo "$(v4l_modules)"|sed s,' ','\n',g|sed s,'-','_',g|sort|uniq -d) |