staging: vchiq: Make creation of vchiq cdev optional
[linux-2.6-microblaze.git] / drivers / staging / vc04_services / Makefile
index e21e73a..0a04338 100644 (file)
@@ -8,6 +8,10 @@ vchiq-objs := \
    interface/vchiq_arm/vchiq_debugfs.o \
    interface/vchiq_arm/vchiq_connected.o \
 
+ifdef CONFIG_VCHIQ_CDEV
+vchiq-objs += interface/vchiq_arm/vchiq_dev.o
+endif
+
 obj-$(CONFIG_SND_BCM2835)              += bcm2835-audio/
 obj-$(CONFIG_VIDEO_BCM2835)            += bcm2835-camera/
 obj-$(CONFIG_BCM2835_VCHIQ_MMAL)       += vchiq-mmal/