summaryrefslogtreecommitdiff
path: root/isp/Makefile
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-07-30 14:33:37 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-07-30 14:33:37 +0200
commitfebcb53ca85d911619456c09c4be49fd73c4964b (patch)
tree12ae3a93d117b56da6e1213882f5cc6de3977adb /isp/Makefile
omap3-isp-live: Initial commit
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'isp/Makefile')
-rw-r--r--isp/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/isp/Makefile b/isp/Makefile
new file mode 100644
index 0000000..4b47ee6
--- /dev/null
+++ b/isp/Makefile
@@ -0,0 +1,24 @@
+AR := $(CROSS_COMPILE)ar
+CC := $(CROSS_COMPILE)gcc
+CFLAGS := -O2 -W -Wall -I$(KDIR)/usr/include -fPIC
+LDFLAGS :=
+
+OBJECTS := controls.o \
+ media.o \
+ omap3isp.o \
+ subdev.o \
+ v4l2.o \
+ v4l2-pool.o
+
+%.o : %.c
+ $(CC) $(CFLAGS) -c -o $@ $<
+
+all: libomap3isp.so
+
+libomap3isp.so: $(OBJECTS)
+ $(CC) -o $@ -shared $^
+
+clean:
+ -$(RM) *.o
+ -$(RM) libomap3isp.so
+