diff options
author | Michael Krufky <devnull@localhost> | 2005-12-25 16:26:59 +0000 |
---|---|---|
committer | Michael Krufky <devnull@localhost> | 2005-12-25 16:26:59 +0000 |
commit | b61ab0f78dd8449470df04543b529e6d9707159f (patch) | |
tree | bb96f9791142c0d1c82e4ee06b397088645e91c9 /v4l_experimental | |
parent | 5a56df6ff9f4bcd4e00171de24974426a2ef861a (diff) | |
download | mediapointer-dvb-s2-b61ab0f78dd8449470df04543b529e6d9707159f.tar.gz mediapointer-dvb-s2-b61ab0f78dd8449470df04543b529e6d9707159f.tar.bz2 |
Add v3tv experimental build environment
- Add v3tv experimental build environment,
based on current pvrusb2 setup
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Diffstat (limited to 'v4l_experimental')
-rw-r--r-- | v4l_experimental/v3tv/Kbuild | 8 | ||||
-rw-r--r-- | v4l_experimental/v3tv/Kconfig | 26 | ||||
-rw-r--r-- | v4l_experimental/v3tv/Makefile | 39 |
3 files changed, 73 insertions, 0 deletions
diff --git a/v4l_experimental/v3tv/Kbuild b/v4l_experimental/v3tv/Kbuild new file mode 100644 index 000000000..b678d6f80 --- /dev/null +++ b/v4l_experimental/v3tv/Kbuild @@ -0,0 +1,8 @@ +obj-$(CONFIG_VIDEO_V3TV) += v3tv.o vpx3224.o i2c-voodoo3.o + +# *** Local Variables: *** +# *** mode: Makefile *** +# *** fill-column: 75 *** +# *** indent-tabs-mode: nil *** +# *** End: *** +# vim:expandtab:textwidth=75 diff --git a/v4l_experimental/v3tv/Kconfig b/v4l_experimental/v3tv/Kconfig new file mode 100644 index 000000000..534d1bd45 --- /dev/null +++ b/v4l_experimental/v3tv/Kconfig @@ -0,0 +1,26 @@ +# +# Voodoo3 3500 TV Video For Linux +# + +config VIDEO_V3TV + tristate "Voodoo3 3500 TV Video For Linux" + depends on VIDEO_DEV && PCI && I2C_ALGOBIT && SOUND + --- help --- + Support for Voodoo3 3500 TV cards. Please visit v3tv.sourceforge.net + for details. + + This option also builds msp3400.o, tuner.o, and vpx3224.o. + + If you say Y or M here, you need to say Y or M to: + + "Voodoo 3" in the I2C Hardware Bus support section + "Video 4 Linux TV-Mixer" in the sound device section + + To compile this driver as a module, choose M here: the + module will be called v3tv. + +config V3TV_VERBOSEDEBUG + bool ' Excessive V3TV debugging output' + depends on VIDEO_V3TV + +endmenu diff --git a/v4l_experimental/v3tv/Makefile b/v4l_experimental/v3tv/Makefile new file mode 100644 index 000000000..4cdc22cc7 --- /dev/null +++ b/v4l_experimental/v3tv/Makefile @@ -0,0 +1,39 @@ +# +# Voodoo3 3500 TV Video For Linux +# + +obj-$(CONFIG_VIDEO_V3TV) += v3tv.o vpx3224.o i2c-voodoo3.o + +CPPFLAGS:= -D__KERNEL__ -I$(M)/../../linux/include -I$(M)/../../v4l $(CPPFLAGS) -I$(KDIR)/include + +ifeq ($(KERNELRELEASE),) + ifeq ($(strip $(KREL)),) + KREL := $(shell uname -r) + endif + ifeq ($(strip $(KDIR)),) + KDIR := /lib/modules/$(KREL)/build + endif + INSTALL_MOD_DIR := v3tv + + .PHONY: all default install clean modules + default: all + all: modules + + M:=$(shell pwd) + + CPPFLAGS:= -D__KERNEL__ -I$(M)/../../linux/include -I$(M)/../../v4l $(CPPFLAGS) -I$(KDIR)/include + + modules modules_install clean: + $(MAKE) -C $(M)/../.. links + $(MAKE) INSTALL_MOD_DIR=$(INSTALL_MOD_DIR) "CPPFLAGS=$(CPPFLAGS)" -C $(KDIR) M=$(M) CONFIG_VIDEO_V3TV=m $@ + + install: + $(MAKE) -C $(M)/../.. links + $(MAKE) INSTALL_MOD_DIR=$(INSTALL_MOD_DIR) "CPPFLAGS=$(CPPFLAGS)" -C $(KDIR) M=$(M) CONFIG_VIDEO_V3TV=m modules_install + +else + + # Backwards compatibility in case kbuild can't find Kbuild on its own. + include Kbuild + +endif |