summaryrefslogtreecommitdiff
path: root/drivers/media/mc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/mc/Makefile')
-rw-r--r--drivers/media/mc/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/media/mc/Makefile b/drivers/media/mc/Makefile
new file mode 100644
index 000000000000..119037f0e686
--- /dev/null
+++ b/drivers/media/mc/Makefile
@@ -0,0 +1,10 @@
+# SPDX-License-Identifier: GPL-2.0
+
+mc-objs := mc-device.o mc-devnode.o mc-entity.o \
+ mc-request.o
+
+ifeq ($(CONFIG_USB),y)
+ mc-objs += mc-dev-allocator.o
+endif
+
+obj-$(CONFIG_MEDIA_SUPPORT) += mc.o