summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/dev/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fw/fe310/eos/dev/Makefile')
-rw-r--r--fw/fe310/eos/dev/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/fw/fe310/eos/dev/Makefile b/fw/fe310/eos/dev/Makefile
index 83cb1f5..7407212 100644
--- a/fw/fe310/eos/dev/Makefile
+++ b/fw/fe310/eos/dev/Makefile
@@ -1,7 +1,8 @@
include ../../common.mk
-CFLAGS += -I$(bsp_dir)/include
+CFLAGS += -I$(bsp_dir)/include -I$(ext_dir)/crypto
-obj = bq25895.o ov2640.o gt911.o
+obj = spi.o net.o bq25895.o sdcard.o sdc_crypto.o eve.o ov2640.o cam.o
+lib = ../../libeos-dev.a
%.o: %.c %.h
@@ -10,7 +11,10 @@ obj = bq25895.o ov2640.o gt911.o
%.o: %.S
$(CC) $(CFLAGS) -c $<
-all: $(obj)
+all: $(lib)
+
+$(lib): $(obj)
+ $(AR) rcs $@ $(obj)
clean:
- rm -f *.o
+ rm -f *.o $(lib)