From 79b972ba28a443a80f014b7ffbbb066da39b1b3f Mon Sep 17 00:00:00 2001 From: Tomasz Stanislawski Date: Wed, 14 Nov 2012 17:18:49 +0100 Subject: v4l2-dmabuf-test-01: version 0.1.1 Simple test with vivi and 2 V4L2 mem-to-mem devices. The output data is written to a file. Signed-off-by: Tomasz Stanislawski Signed-off-by: Sylwester Nawrocki --- v4l2-dmabuf-test/Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 v4l2-dmabuf-test/Makefile (limited to 'v4l2-dmabuf-test/Makefile') diff --git a/v4l2-dmabuf-test/Makefile b/v4l2-dmabuf-test/Makefile new file mode 100644 index 0000000..cfd7436 --- /dev/null +++ b/v4l2-dmabuf-test/Makefile @@ -0,0 +1,17 @@ +CROSS_COMPILE ?= arm-linux-gnueabi- +KDIR ?= /usr/src/linux +CC=$(CROSS_COMPILE)gcc +OBJS = v4l2-dbuf +CFLAGS += -I$(KDIR)/usr/include -std=gnu99 -Wall -pedantic -O2 + +all: $(OBJS) + +%.o : %.c + $(CC) $(CFLAGS) -c $< -o $@ + +% : %.c + $(CC) $(CFLAGS) $< -o $@ + +clean: + rm -f *.o + rm -f $(OBJS) -- cgit v1.2.3