diff options
| author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2018-05-25 16:31:32 +0100 | 
|---|---|---|
| committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2018-05-26 18:27:17 +0300 | 
| commit | 83fa2cb53742f43c3a254d0453bd96048ee29a82 (patch) | |
| tree | 09896a840707250a4dc3f54b0902d86da3596d82 /Makefile | |
| parent | 03f3bc285a33397642c79eb94e366d5e18be53fe (diff) | |
configfs: Provide configfs support
Parse a configuration name from the commandline, and utilise it to
identify the configfs configuration path.
Only the short-name (i.e. "uvc.1") is necessary to provide if there is
no ambiguity regarding the gadget, otherwise the gadget path should be
included ("g1/functions/uvc.1"). If the parameter is not provided then
the first function is utilised.
Legacy g_webcam is still supported, and the parameter will define the
UDC to match against if provided.
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 | 
1 files changed, 7 insertions, 1 deletions
| @@ -7,9 +7,15 @@ KERNEL_INCLUDE	:= -I$(KERNEL_DIR)/include -I$(KERNEL_DIR)/arch/$(ARCH)/include  CFLAGS		:= -W -Wall -g $(KERNEL_INCLUDE)  LDFLAGS		:= -g +OBJS		:= \ +			configfs.o \ +			events.o \ +			uvc-gadget.o \ +			v4l2.o +  all: uvc-gadget -uvc-gadget: events.o uvc-gadget.o v4l2.o +uvc-gadget: $(OBJS)  	$(CC) $(LDFLAGS) -o $@ $^  clean: | 
