summaryrefslogtreecommitdiff
path: root/isp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2015-10-13 01:48:06 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2015-11-12 17:37:42 +0200
commit97c71acb56c0d422f8d44cebba3b6ecd9c94ab5f (patch)
treef3b45fbfb28955f2a53f7125a39e1c740b60309b /isp
parent30aab83c0433a9c2b51fdeaaf01aba8c8bef259c (diff)
Add support for static compilationHEADmaster
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'isp')
-rw-r--r--isp/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/isp/Makefile b/isp/Makefile
index 6521a95..5619ca6 100644
--- a/isp/Makefile
+++ b/isp/Makefile
@@ -14,7 +14,10 @@ OBJECTS := controls.o \
%.o : %.c
$(CC) $(CFLAGS) -c -o $@ $<
-all: libomap3isp.so
+all: libomap3isp.a libomap3isp.so
+
+libomap3isp.a: $(OBJECTS)
+ $(AR) r $@ $^
libomap3isp.so: $(OBJECTS)
$(CC) -o $@ -shared $^