summaryrefslogtreecommitdiff
path: root/isp/Makefile
diff options
context:
space:
mode:
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
+