Add BearSSL extra
This commit is contained in:
parent
c21f70366f
commit
1911237140
3 changed files with 18 additions and 0 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
|
@ -19,6 +19,9 @@
|
|||
[submodule "tests/fs-test"]
|
||||
path = tests/fs-test
|
||||
url = https://github.com/sheinz/fs-test
|
||||
[submodule "extras/bearssl/BearSSL"]
|
||||
path = extras/bearssl/BearSSL
|
||||
url = https://www.bearssl.org/git/BearSSL
|
||||
[submodule "extras/http-parser/http-parser"]
|
||||
path = extras/http-parser/http-parser
|
||||
url = https://github.com/nodejs/http-parser
|
||||
|
|
|
|||
1
extras/bearssl/BearSSL
Submodule
1
extras/bearssl/BearSSL
Submodule
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 6b4cd8609450f294071b38f478bec3b6b8c48ce5
|
||||
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