From e6cc0810ca4ec4c23568a94d983d8484f7b4834a Mon Sep 17 00:00:00 2001 From: Michael Krufky Date: Mon, 13 Mar 2006 01:48:38 -0500 Subject: cx88-ivtv: add Makefile build logic (experimental) From: Michael Krufky - add build logic for cx88-ivtv.ko, an ivtv ioctl emulation module for blackbird TV cards. - disabled by default. Signed-off-by: Michael Krufky --- v4l/Make.config | 4 +++- v4l/Makefile | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'v4l') diff --git a/v4l/Make.config b/v4l/Make.config index 0dd4365ce..e2e658ac8 100644 --- a/v4l/Make.config +++ b/v4l/Make.config @@ -26,7 +26,9 @@ CONFIG_VIDEO_IVTV := n CONFIG_DVB_FIRESAT := n -CONFIG_VIDEO_CPIA2 := m +CONFIG_VIDEO_CPIA2 := m + +CONFIG_VIDEO_CX88_IVTV := n # doesn't build on older kernels diff --git a/v4l/Makefile b/v4l/Makefile index 1af345804..c4cbb7158 100644 --- a/v4l/Makefile +++ b/v4l/Makefile @@ -91,6 +91,7 @@ endif obj-$(CONFIG_VIDEO_BTTV) += btcx-risc.o ir-common.o bttv.o tveeprom.o obj-$(CONFIG_VIDEO_CX88) += btcx-risc.o cx88xx.o cx8800.o cx8802.o \ cx88-blackbird.o tveeprom.o +obj-$(CONFIG_VIDEO_CX88_IVTV) += cx88-ivtv.o obj-$(CONFIG_TVP5150) += tvp5150.o obj-$(CONFIG_SAA711X) += saa711x.o obj-$(CONFIG_EM28XX) += em28xx.o tveeprom.o @@ -311,8 +312,8 @@ endif inst_video += ir-kbd-i2c.ko msp3400.ko inst_video += tvp5150.ko saa711x.ko saa7134-alsa.ko saa7134-oss.ko inst_video += saa7115.ko cx25840.ko saa7127.ko compat_ioctl32.ko -inst_cx88 := cx8800.ko cx8802.ko cx88-alsa.ko -inst_cx88 += cx88-blackbird.ko cx88xx.ko cx88-dvb.ko cx88-vp3054-i2c.ko +inst_cx88 := cx88xx.ko cx8800.ko cx8802.ko cx88-alsa.ko cx88-dvb.ko +inst_cx88 += cx88-blackbird.ko cx88-vp3054-i2c.ko cx88-ivtv.ko inst_saa7134 := saa6752hs.ko saa7134.ko saa7134-empress.ko saa7134-dvb.ko inst_em28xx := em28xx.ko inst_bt8xx := bt878.ko dvb-bt8xx.ko dst.ko dst_ca.ko -- cgit v1.2.3 From aa74e8c588686e857f1817a82211865bf3cc28e4 Mon Sep 17 00:00:00 2001 From: Michael Krufky Date: Mon, 13 Mar 2006 01:50:23 -0500 Subject: use "make cx88-ivtv" to build cx88-ivtv.ko From: Michael Krufky - This makes it easier for users to build and install the cx88-ivtv module, from the v4l_experimental area, while still leaving it disabled by default. Signed-off-by: Michael Krufky --- v4l/Make.config | 1 + v4l/Makefile | 4 ++++ 2 files changed, 5 insertions(+) (limited to 'v4l') diff --git a/v4l/Make.config b/v4l/Make.config index e2e658ac8..dace4f2c4 100644 --- a/v4l/Make.config +++ b/v4l/Make.config @@ -115,3 +115,4 @@ endif CONFIG_VIDEO_IVTV := $(if $(wildcard $(src)/ivtv-svnversion.h),m) CONFIG_VIDEO_PVRUSB2 := $(if $(wildcard $(src)/.pvrusb2-merge),m) +CONFIG_VIDEO_CX88_IVTV := $(if $(wildcard $(src)/cx88-ivtv.c),m) diff --git a/v4l/Makefile b/v4l/Makefile index c4cbb7158..626858fac 100644 --- a/v4l/Makefile +++ b/v4l/Makefile @@ -380,6 +380,10 @@ ivtv:: ivtv-links @echo '#define IVTV_DRIVER_VERSION_COMMENT "(v4l-dvb + ivtv virtual merge)"' > ivtv-svnversion.h @echo ivtv trunk merged. Run make to build the entire tree. +cx88-ivtv:: + @echo creating cx88-ivtv symbolic links... + @ln -sf ../v4l_experimental/cx88-ivtv.c . + links:: @echo creating symbolic links... @find ../linux/drivers/media -name '*.[ch]' -type f -exec ln -sf '{}' . \; -- cgit v1.2.3