summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/Makefile
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-07-01 17:22:00 -0400
committerMichael Krufky <mkrufky@linuxtv.org>2007-07-01 17:22:00 -0400
commitbca4a97d09ff711e1a2c29263821215c9c285a08 (patch)
tree864585a3c0f69f260aea3a41112ea060158814b7 /linux/drivers/media/video/Makefile
parent7ea277dbfe353d78c9e6558e71894608f72bb322 (diff)
downloadmediapointer-dvb-s2-bca4a97d09ff711e1a2c29263821215c9c285a08.tar.gz
mediapointer-dvb-s2-bca4a97d09ff711e1a2c29263821215c9c285a08.tar.bz2
TUNER_TEA5761 kconfig fixes
From: Adrian Bunk <bunk@stusta.de> The following doesn't make much sense: drivers/media/video/Kconfig: ... config TUNER_TEA5761 tristate "TEA 5761 radio tuner (EXPERIMENTAL)" ... drivers/media/video/Makefile: ... ifneq ($(CONFIG_TUNER_TEA5761),) tuner-objs += tea5761.o endif ... With this setup, TUNER_TEA5761=m is equivalent to TUNER_TEA5761=y. This patch therefore changes TUNER_TEA5761 to a bool. The missing dependency on EXPERIMENTAL the prompt text indicates also gets added by this patch. Additionally, the Makefile entry can now be written in a more compact way. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/video/Makefile')
-rw-r--r--linux/drivers/media/video/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/linux/drivers/media/video/Makefile b/linux/drivers/media/video/Makefile
index 4cddc8cbd..10b4d4469 100644
--- a/linux/drivers/media/video/Makefile
+++ b/linux/drivers/media/video/Makefile
@@ -7,9 +7,7 @@ zr36067-objs := zoran_procfs.o zoran_device.o \
tuner-objs := tuner-core.o tuner-types.o tuner-simple.o \
mt20xx.o tda8290.o tea5767.o tda9887.o
-ifneq ($(CONFIG_TUNER_TEA5761),)
- tuner-objs += tea5761.o
-endif
+tuner-$(CONFIG_TUNER_TEA5761) += tea5761.o
msp3400-objs := msp3400-driver.o msp3400-kthreads.o