summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaul Elder <paul.elder@ideasonboard.com>2018-06-07 20:01:23 +0900
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2018-06-09 00:22:29 +0300
commitbabe9a5aa7f6eb109e47bd8ded680d7087dd0ab2 (patch)
treeef3516f19480fdf44fa387e783e60ba6d9f91ff8 /Makefile
parentf6760f161dc5f03d5b751798e4aff44e571ff703 (diff)
uvc-gadget: factor out uvc protocol and stream handling code
uvc-gadget.c has been getting cluttered with functions related to UVC protocol handling and stream handling. Additionally, it is forseen that we might want stream handling to be modular for different system models. Factor out code related to UVC protocol handling to uvc.c (and uvc.h) and code related to stream handling to stream.c (and stream.h), and update the Makefile accordingly. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4c5d498..3785140 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,9 @@ LDFLAGS := -g
OBJS := \
configfs.o \
events.o \
- uvc-gadget.o \
+ main.o \
+ stream.o \
+ uvc.o \
v4l2.o
all: uvc-gadget