From 5088ff3ae98f7d48743d59d1931f95fcbd0cf987 Mon Sep 17 00:00:00 2001 From: jaseg Date: Thu, 7 May 2020 12:42:16 +0200 Subject: fw: make libsodium sha512 small --- controller/fw/Makefile | 4 +++- controller/fw/libsodium | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'controller') 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 index afae623..06b56e2 160000 --- a/controller/fw/libsodium +++ b/controller/fw/libsodium @@ -1 +1 @@ -Subproject commit afae623190f025e7cf2fb0222bfe796b69a36941 +Subproject commit 06b56e25342a95322c226e7531a5da73c757c67d -- cgit