summaryrefslogtreecommitdiff
path: root/fw/fe310/crypto
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2021-05-20 19:06:47 +0200
committerUros Majstorovic <majstor@majstor.org>2021-05-20 19:06:47 +0200
commit3cac09c89fe0081f06188f1e9440de5d863951be (patch)
tree1987fe6544c390eaa501f04583da3feda4370bfd /fw/fe310/crypto
parent6a17d31a8ac0e0be5dae9d865fa7097a6a8f40ad (diff)
fat filesystem with disk encryption for sd card driver
Diffstat (limited to 'fw/fe310/crypto')
-rw-r--r--fw/fe310/crypto/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/fw/fe310/crypto/Makefile b/fw/fe310/crypto/Makefile
new file mode 100644
index 0000000..2230d6a
--- /dev/null
+++ b/fw/fe310/crypto/Makefile
@@ -0,0 +1,17 @@
+include ../common.mk
+
+CRYPTO_DIR = ../../../crypto
+
+obj = $(CRYPTO_DIR)/aes/aes.o $(CRYPTO_DIR)/blowfish/blowfish.o $(CRYPTO_DIR)/sha/sha1.o
+
+
+%.o: %.c %.h
+ $(CC) $(CFLAGS) -c $<
+
+%.o: %.S
+ $(CC) $(CFLAGS) -c $<
+
+all: $(obj)
+
+clean:
+ rm -f *.o $(obj)