From babe9a5aa7f6eb109e47bd8ded680d7087dd0ab2 Mon Sep 17 00:00:00 2001 From: Paul Elder Date: Thu, 7 Jun 2018 20:01:23 +0900 Subject: 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 Signed-off-by: Laurent Pinchart --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3