diff options
author | Mauro S. M. Rodrigues <maurosr@linux.vnet.ibm.com> | 2020-04-02 13:15:30 -0300 |
---|---|---|
committer | Oliver O'Halloran <oohall@gmail.com> | 2020-10-01 13:42:40 +1000 |
commit | fe2d80bcce3e560099aa8f19cab76e2f97622c33 (patch) | |
tree | 923633984412830a9f17e068893dcce4291d6bbe /libstb/Makefile.inc | |
parent | 910a78c55a08bcb9c3cabbca4b38198dc5b58e21 (diff) | |
download | skiboot-fe2d80bcce3e560099aa8f19cab76e2f97622c33.zip skiboot-fe2d80bcce3e560099aa8f19cab76e2f97622c33.tar.gz skiboot-fe2d80bcce3e560099aa8f19cab76e2f97622c33.tar.bz2 |
crypto: add mbedtls build integration via git subtree
Secure variable support requires more crypto support than skiboot
currently has. Since mbedtls' x509, etc implementations have rather
tight dependencies which prevent easy cherry picking (unlike the
existing sha512.c), it is easier to integrate and maintain the whole
mbedtls library as a subtree.
Authored-by: Eric Richter <erichte@linux.ibm.com>
Signed-off-by: Eric Richter <erichte@linux.ibm.com>
Signed-off-by: Mauro S. M. Rodrigues <maurosr@linux.vnet.ibm.com>
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'libstb/Makefile.inc')
-rw-r--r-- | libstb/Makefile.inc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libstb/Makefile.inc b/libstb/Makefile.inc index d3f6849..4ac33c7 100644 --- a/libstb/Makefile.inc +++ b/libstb/Makefile.inc @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2012-2020 IBM Corp # -*-Makefile-*- LIBSTB_DIR = libstb @@ -12,8 +14,11 @@ include $(SRC)/$(LIBSTB_DIR)/secvar/Makefile.inc include $(SRC)/$(LIBSTB_DIR)/mbedtls/Makefile.inc include $(SRC)/$(LIBSTB_DIR)/drivers/Makefile.inc include $(SRC)/$(LIBSTB_DIR)/tss/Makefile.inc +include $(SRC)/$(LIBSTB_DIR)/crypto/Makefile.inc -$(LIBSTB): $(LIBSTB_OBJS:%=$(LIBSTB_DIR)/%) $(DRIVERS) $(TSS) $(SECVAR) $(MBEDTLS) +CPPFLAGS += -I$(SRC)/$(LIBSTB_DIR)/crypto/mbedtls/include + +$(LIBSTB): $(LIBSTB_OBJS:%=$(LIBSTB_DIR)/%) $(DRIVERS) $(TSS) $(SECVAR) $(CRYPTO) libstb/create-container: libstb/create-container.c libstb/container-utils.c $(call Q, HOSTCC ,$(HOSTCC) $(HOSTCFLAGS) \ |