diff options
author | Tomasz Stanislawski <t.stanislaws@samsung.com> | 2012-11-14 17:18:49 +0100 |
---|---|---|
committer | Tomasz Stanislawski <t.stanislaws@samsung.com> | 2012-11-16 10:32:30 +0100 |
commit | 79b972ba28a443a80f014b7ffbbb066da39b1b3f (patch) | |
tree | e6fba3eaad6629389a45a3c0f5a320ed7c35f1c3 /v4l2-dmabuf-test/Makefile | |
parent | b33aed63b17319e81f0a9804ee4207951d8392fa (diff) |
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 <t.stanislaws@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Diffstat (limited to 'v4l2-dmabuf-test/Makefile')
-rw-r--r-- | v4l2-dmabuf-test/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
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) |