aboutsummaryrefslogtreecommitdiffstats
path: root/roms/skiboot/libstb/crypto/pkcs7/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'roms/skiboot/libstb/crypto/pkcs7/Makefile.inc')
-rw-r--r--roms/skiboot/libstb/crypto/pkcs7/Makefile.inc12
1 files changed, 12 insertions, 0 deletions
diff --git a/roms/skiboot/libstb/crypto/pkcs7/Makefile.inc b/roms/skiboot/libstb/crypto/pkcs7/Makefile.inc
new file mode 100644
index 000000000..bef339b57
--- /dev/null
+++ b/roms/skiboot/libstb/crypto/pkcs7/Makefile.inc
@@ -0,0 +1,12 @@
+
+PKCS7_DIR = libstb/crypto/pkcs7
+
+SUBDIRS += $(PKCS7_DIR)
+
+PKCS7_SRCS = pkcs7.c
+PKCS7_OBJS = $(PKCS7_SRCS:%.c=%.o)
+PKCS7 = $(PKCS7_DIR)/built-in.a
+
+CFLAGS_$(PKCS7_DIR)/ = -I$(SRC)/$(LIBSTB_DIR)/crypto -DMBEDTLS_CONFIG_FILE='<mbedtls-config.h>'
+
+$(PKCS7): $(PKCS7_OBJS:%=$(PKCS7_DIR)/%)