From c9601d407a7ca943e53fa49a5a5f69b868c6ed11 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Tue, 18 Nov 2014 22:52:06 +0200 Subject: Xilinx video library - Initial import Signed-off-by: Laurent Pinchart --- plugins/dummy/Makefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 plugins/dummy/Makefile (limited to 'plugins/dummy/Makefile') diff --git a/plugins/dummy/Makefile b/plugins/dummy/Makefile new file mode 100644 index 0000000..0fb053b --- /dev/null +++ b/plugins/dummy/Makefile @@ -0,0 +1,21 @@ +AR := $(CROSS_COMPILE)ar +CC := $(CROSS_COMPILE)gcc +CFLAGS := -O2 -W -Wall -Wno-unused-parameter -I$(KDIR)/usr/include -I$(topdir)/include -I. -fPIC +LDFLAGS := + +OBJECTS := xlnx-dummy.o +TARGET := xlnx-dummy.so + +%.o : %.c + $(CC) $(CFLAGS) -c -o $@ $< + +all: $(TARGET) + +$(TARGET): $(OBJECTS) + $(CC) -o $@ -shared $^ + +clean: + -$(RM) *.o + -$(RM) $(TARGET) + +install: -- cgit v1.2.3