]> err.no Git - linux-2.6/blobdiff - drivers/media/Makefile
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6
[linux-2.6] / drivers / media / Makefile
index 8cf91353b56afa82e64b48324a9c5e6aea65494b..cc11c4c0e7e7afaf585e3866c0119a0601275164 100644 (file)
@@ -3,6 +3,11 @@
 #
 
 obj-y := common/
-obj-y += video/
+
+obj-$(CONFIG_VIDEO_MEDIA) += common/
+
+# Since hybrid devices are here, should be compiled if DVB and/or V4L
+obj-$(CONFIG_VIDEO_MEDIA) += video/
+
 obj-$(CONFIG_VIDEO_DEV) += radio/
 obj-$(CONFIG_DVB_CORE)  += dvb/