Add BearSSL extra (#340)
Add BearSSL extra + http_get example, TLS server example
This commit is contained in:
parent
54ce6bbe1c
commit
398ed46776
9 changed files with 849 additions and 0 deletions
14
extras/bearssl/component.mk
Normal file
14
extras/bearssl/component.mk
Normal 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'")
|
Loading…
Add table
Add a link
Reference in a new issue