Add BearSSL extra (#340)

Add BearSSL extra + http_get example, TLS server example
This commit is contained in:
Milosch Meriac 2017-02-15 11:44:11 +00:00 committed by Ruslan V. Uss
parent 54ce6bbe1c
commit 398ed46776
9 changed files with 849 additions and 0 deletions

View file

@ -0,0 +1,14 @@
# Component makefile for BearSSL
BEARSSL_DIR = $(bearssl_ROOT)BearSSL/
INC_DIRS += $(BEARSSL_DIR)inc
# args for passing into compile rule generation
bearssl_INC_DIR = $(BEARSSL_DIR)inc $(BEARSSL_DIR)src
bearssl_SRC_DIR = $(BEARSSL_DIR)src $(sort $(dir $(wildcard $(BEARSSL_DIR)src/*/)))
$(eval $(call component_compile_rules,bearssl))
# Helpful error if git submodule not initialised
$(BEARSSL_DIR):
$(error "bearssl git submodule not installed. Please run 'git submodule update --init'")