summaryrefslogtreecommitdiffstats
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 000000000..2b7af42ba
--- /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
+
+ifneq ($(CONFIG_USB),)
+ mc-objs += mc-dev-allocator.o
+endif
+
+obj-$(CONFIG_MEDIA_SUPPORT) += mc.o