]> err.no Git - linux-2.6/blobdiff - drivers/media/Makefile
Merge git://git.infradead.org/mtd-2.6
[linux-2.6] / drivers / media / Makefile
index 8cf91353b56afa82e64b48324a9c5e6aea65494b..73f742c7e818428f1965d880a3c442e71154a957 100644 (file)
@@ -2,7 +2,10 @@
 # Makefile for the kernel multimedia device drivers.
 #
 
-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/