diff options
author | Jacek Anaszewski <j.anaszewski@samsung.com> | 2014-01-08 16:35:36 +0100 |
---|---|---|
committer | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2014-01-08 16:39:46 +0100 |
commit | 487381abe368a430cdfb226cf69f6ba6e2481eff (patch) | |
tree | de39516024f8dbef3ca460acfd60d949792dec7f /v4l2-jpeg-codec-test/Makefile | |
parent | 38a15c1df0f2db0b292a8816d0721b834ade5cf1 (diff) |
v4l2-jpeg-codec-test: version 0.1
The run_fmt_test.sh script currently uses a hack to retrieve the JPEG
codec video node names. Normally those names should be retrieved from
sysfs or using libudev.
Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Diffstat (limited to 'v4l2-jpeg-codec-test/Makefile')
-rw-r--r-- | v4l2-jpeg-codec-test/Makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/v4l2-jpeg-codec-test/Makefile b/v4l2-jpeg-codec-test/Makefile new file mode 100644 index 0000000..715f398 --- /dev/null +++ b/v4l2-jpeg-codec-test/Makefile @@ -0,0 +1,30 @@ +# Target root +TARGETROOT?= +# Toolchain path +TCPATH?=arm-linux-gnueabi- + +CC = ${TCPATH}gcc +AR = "${TCPATH}ar rc" +AR2 = ${TCPATH}ranlib make -j4 + +INCLUDES = -I$(TARGETROOT)/include +SOURCES = test-jpeg.c +OBJECTS := $(SOURCES:.c=.o) +EXEC = test-jpeg +CFLAGS = -Wall -g + +all: $(EXEC) + +.c.o: + $(CC) -c $(CFLAGS) $(INCLUDES) $< + +$(EXEC): $(OBJECTS) + $(CC) $(CFLAGS) -g -O0 -o $(EXEC) $(OBJECTS) -lpthread + +clean: + rm -f *.o $(EXEC) + +install: + + +.PHONY: clean all |