diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2014-11-18 22:52:06 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2016-05-24 03:03:01 +0300 |
commit | c9601d407a7ca943e53fa49a5a5f69b868c6ed11 (patch) | |
tree | 248d13a9e817ba3c73fc50e2d655b4cd12013e10 /plugins/dummy/Makefile | |
parent | 3653f5e4d877176a30035d9123ac65daf46ba787 (diff) |
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'plugins/dummy/Makefile')
-rw-r--r-- | plugins/dummy/Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
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: |