diff options
author | jaseg <git-bigdata-wsl-arch@jaseg.de> | 2020-05-07 12:42:16 +0200 |
---|---|---|
committer | jaseg <git-bigdata-wsl-arch@jaseg.de> | 2020-05-07 12:42:16 +0200 |
commit | 5088ff3ae98f7d48743d59d1931f95fcbd0cf987 (patch) | |
tree | d47f0c9039615a26353d3421e74a071544d980d6 /controller/fw | |
parent | db50711ba4a1f41f4082981bae58f213d48d96a1 (diff) | |
download | master-thesis-5088ff3ae98f7d48743d59d1931f95fcbd0cf987.tar.gz master-thesis-5088ff3ae98f7d48743d59d1931f95fcbd0cf987.tar.bz2 master-thesis-5088ff3ae98f7d48743d59d1931f95fcbd0cf987.zip |
fw: make libsodium sha512 small
Diffstat (limited to 'controller/fw')
-rw-r--r-- | controller/fw/Makefile | 4 | ||||
m--------- | controller/fw/libsodium | 0 |
2 files changed, 3 insertions, 1 deletions
diff --git a/controller/fw/Makefile b/controller/fw/Makefile index c0f01d5..3aae9fb 100644 --- a/controller/fw/Makefile +++ b/controller/fw/Makefile @@ -299,7 +299,9 @@ $(BUILDDIR)/%.o: %.c mkdir -p $(@D) $(CC) $(COMMON_CFLAGS) $(CFLAGS) $(EXT_CFLAGS) -o $@ -c $< -$(BUILDDIR)/libsodium/src/libsodium/.libs/libsodium.a: +$(BUILDDIR)/src/crypto.o: $(BUILDDIR)/libsodium/src/libsodium/include/sodium/version.h + +$(BUILDDIR)/libsodium/src/libsodium/.libs/libsodium.a $(BUILDDIR)/libsodium/src/libsodium/include/sodium/version.h &: mkdir -p $(BUILDDIR)/libsodium cd $(BUILDDIR)/libsodium && CFLAGS="$(COMMON_CFLAGS) $(CFLAGS) -DDEV_MODE=1" $(LIBSODIUM_DIR_ABS)/configure --host=arm-none-eabi && $(MAKE) -j $(shell nproc) diff --git a/controller/fw/libsodium b/controller/fw/libsodium -Subproject afae623190f025e7cf2fb0222bfe796b69a3694 +Subproject 06b56e25342a95322c226e7531a5da73c757c67 |