summaryrefslogtreecommitdiff
path: root/examples/device/video_capture/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/device/video_capture/Makefile')
-rw-r--r--examples/device/video_capture/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/device/video_capture/Makefile b/examples/device/video_capture/Makefile
index 69b633fea..fda66bcc1 100644
--- a/examples/device/video_capture/Makefile
+++ b/examples/device/video_capture/Makefile
@@ -1,6 +1,13 @@
include ../../../tools/top.mk
include ../../make.mk
+ifeq ($(DISABLE_MJPEG),1)
+CFLAGS += -DCFG_EXAMPLE_VIDEO_DISABLE_MJPEG
+endif
+ifeq ($(FORCE_READONLY),1)
+CFLAGS += -DCFG_EXAMPLE_VIDEO_READONLY
+endif
+
INC += \
src \
$(TOP)/hw \