Commit 5ecdb4e9 authored by Ivan Tyagov's avatar Ivan Tyagov

Enable build of open62541 against system installed mbedtls library.

parent 869eb164
CC=$(C_COMPILER) CC=$(C_COMPILER)
CFLAGS= -I $(OPEN62541_SOURCE_HOME) CFLAGS= -I $(OPEN62541_SOURCE_HOME)
LDFLAGS= -L $(OPEN62541_HOME)/lib LDFLAGS= -L $(OPEN62541_HOME)/lib -lmbedcrypto -lmbedx509
OUT_DIR= $(BINARY_OUT_DIR) OUT_DIR= $(BINARY_OUT_DIR)
server: server.c server: server.c
......
...@@ -37,6 +37,8 @@ configure-options = ...@@ -37,6 +37,8 @@ configure-options =
-DUA_ENABLE_PUBSUB_MONITORING=ON -DUA_ENABLE_PUBSUB_MONITORING=ON
-DUA_NAMESPACE_ZERO=FULL -DUA_NAMESPACE_ZERO=FULL
-DUA_ENABLE_AMALGAMATION=ON -DUA_ENABLE_AMALGAMATION=ON
-DUA_ENABLE_ENCRYPTION=MBEDTLS
-DUA_ENABLE_ENCRYPTION_MBEDTLS=ON
[osie-repository] [osie-repository]
recipe = slapos.recipe.build:gitclone recipe = slapos.recipe.build:gitclone
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment