summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fw/fe310/eos/Makefile')
-rw-r--r--fw/fe310/eos/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/fw/fe310/eos/Makefile b/fw/fe310/eos/Makefile
new file mode 100644
index 0000000..abdcbac
--- /dev/null
+++ b/fw/fe310/eos/Makefile
@@ -0,0 +1,19 @@
+include ../common.mk
+
+CRYPTO_DIR = ../../../crypto
+
+CFLAGS += -I. -I../bsp/include -I../bsp/drivers -I$(CRYPTO_DIR)
+
+obj = trap_entry.o eos.o msgq.o event.o interrupt.o timer.o power.o i2s.o i2c.o uart.o spi.o spi_dev.o sdcard.o sdc_crypto.o cam.o net.o wifi.o cell.o sock.o unicode.o
+
+
+%.o: %.c %.h
+ $(CC) $(CFLAGS) -c $<
+
+%.o: %.S
+ $(CC) $(CFLAGS) -c $<
+
+all: $(obj)
+
+clean:
+ rm -f *.o