From: Gerd Knorr <kraxel@bytesex.org>
To: Linus Torvalds <torvalds@transmeta.com>,
Kernel List <linux-kernel@vger.kernel.org>
Subject: [patch] 21_video_config
Date: Wed, 2 Apr 2003 18:38:48 +0200 [thread overview]
Message-ID: <20030402163848.GA24731@bytesex.org> (raw)
Hi,
This patch adds a few new config options for modules which are shared
by multiple video4linux drivers (bttv * saa7134). This simplifies the
Makefiles and also prepares the merge of Michael's saa7146 driver which
will also use these modules.
Gerd
diff -u linux-2.5.66/drivers/media/Kconfig linux/drivers/media/Kconfig
--- linux-2.5.66/drivers/media/Kconfig 2003-04-02 11:42:22.377563247 +0200
+++ linux/drivers/media/Kconfig 2003-04-02 11:49:36.065600766 +0200
@@ -32,5 +32,19 @@
source "drivers/media/dvb/Kconfig"
+# source "drivers/media/common/Kconfig"
+
+config VIDEO_TUNER
+ tristate
+ default y if VIDEO_BT848=y || VIDEO_SAA7134=y
+ default m if VIDEO_BT848=m || VIDEO_SAA7134=m
+ depends on VIDEO_DEV
+
+config VIDEO_BUF
+ tristate
+ default y if VIDEO_BT848=y || VIDEO_SAA7134=y
+ default m if VIDEO_BT848=m || VIDEO_SAA7134=m
+ depends on VIDEO_DEV
+
endmenu
diff -u linux-2.5.66/drivers/media/video/Makefile linux/drivers/media/video/Makefile
--- linux-2.5.66/drivers/media/video/Makefile 2003-04-02 11:42:44.375963981 +0200
+++ linux/drivers/media/video/Makefile 2003-04-02 11:49:36.066600614 +0200
@@ -9,7 +9,7 @@
obj-$(CONFIG_VIDEO_DEV) += videodev.o v4l2-common.o v4l1-compat.o
obj-$(CONFIG_VIDEO_BT848) += bttv.o msp3400.o tvaudio.o \
- tda7432.o tda9875.o tuner.o video-buf.o tda9887.o
+ tda7432.o tda9875.o
obj-$(CONFIG_SOUND_TVMIXER) += tvmixer.o
obj-$(CONFIG_VIDEO_ZR36120) += zoran.o
@@ -29,5 +29,8 @@
obj-$(CONFIG_VIDEO_CPIA_PP) += cpia_pp.o
obj-$(CONFIG_VIDEO_CPIA_USB) += cpia_usb.o
obj-$(CONFIG_VIDEO_MEYE) += meye.o
-obj-$(CONFIG_VIDEO_SAA7134) += saa7134/ tuner.o tda9887.o video-buf.o
+obj-$(CONFIG_VIDEO_SAA7134) += saa7134/
obj-$(CONFIG_TUNER_3036) += tuner-3036.o
+
+obj-$(CONFIG_VIDEO_TUNER) += tuner.o tda9887.o
+obj-$(CONFIG_VIDEO_BUF) += video-buf.o
--
Michael Moore for president!
reply other threads:[~2003-04-02 16:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030402163848.GA24731@bytesex.org \
--to=kraxel@bytesex.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.