From 2bb0cfbf8137e02cc32aae3b36f85ef7300e8936 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Sat, 9 Jun 2018 14:29:41 +0300 Subject: Split UVC gadget into a library and test application Split the project into a UVC gadget library and a test application. To avoid rolling out a custom build system, switch to CMake. Signed-off-by: Laurent Pinchart --- Makefile | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile deleted file mode 100644 index c3db9d3..0000000 --- a/Makefile +++ /dev/null @@ -1,29 +0,0 @@ -CROSS_COMPILE ?= -ARCH ?= x86 -KERNEL_DIR ?= /usr/src/linux - -CC := $(CROSS_COMPILE)gcc -KERNEL_INCLUDE := -I$(KERNEL_DIR)/include -I$(KERNEL_DIR)/arch/$(ARCH)/include -CFLAGS := -W -Wall -Wno-unused-parameter -g $(KERNEL_INCLUDE) -LDFLAGS := -g - -OBJS := \ - configfs.o \ - events.o \ - main.o \ - stream.o \ - uvc.o \ - v4l2.o \ - v4l2-source.o \ - video-buffers.o \ - video-source.o - -all: uvc-gadget - -uvc-gadget: $(OBJS) - $(CC) $(LDFLAGS) -o $@ $^ - -clean: - rm -f *.o - rm -f uvc-gadget - -- cgit v1.2.3