diff options
author | Mateusz Krawczuk <m.krawczuk@samsung.com> | 2015-07-06 16:36:14 +0200 |
---|---|---|
committer | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2015-07-09 15:55:05 +0200 |
commit | 364160b45c3303efba4e225be6ebeec8f09095f9 (patch) | |
tree | 53b362dd100d6b6b5c048bc4e3342fc28381f75c /v4l2-mfc-encoder/Makefile | |
parent | f1e15d5437a0f1078e071f5bc2da761b0500bf45 (diff) |
Makefiles update
v4l2-dmabuf-test
v4l2-mfc-encoder
v4l2-mfc-example
Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com>
Diffstat (limited to 'v4l2-mfc-encoder/Makefile')
-rw-r--r-- | v4l2-mfc-encoder/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/v4l2-mfc-encoder/Makefile b/v4l2-mfc-encoder/Makefile index d18ba17..d79666a 100644 --- a/v4l2-mfc-encoder/Makefile +++ b/v4l2-mfc-encoder/Makefile @@ -16,9 +16,13 @@ # limitations under the License. # +ifeq ($(KERNELHEADERS_PREFIX),) +$(warning KERNELHEADERS_PREFIX is not set, the build may fail due to lack of kernel headers) +endif + # Toolchain path TCPATH = arm-linux-gnueabi- -KERNELHEADERS = /home/kamil/praca/w1-party/kernel/headers/include +KERNELHEADERS = -I$(KERNELHEADERS_PREFIX) CC = ${TCPATH}gcc AR = "${TCPATH}ar rc" @@ -30,7 +34,7 @@ INCLUDES = -I$(KERNELHEADERS) SOURCES = main.c args.c in_demo.c out_file.c mfc.c io_dev.c func_dev.c v4l_dev.c in_camera.c OBJECTS := $(SOURCES:.c=.o) EXEC = mfc-encode -CFLAGS = -Wall -g -DS5PC1XX_FIMC +CFLAGS = -Wall -g DEP = .dep all: $(EXEC) $(DEP) |