Commit 1fa47ade authored by Ivan Tyagov's avatar Ivan Tyagov

Remove duplicating section just for the sake of name of the C compiler as by...

Remove duplicating section just for the sake of name of the C compiler as by default gcc is a symbolic link which will point proper one.
parent 8f37fdb0
...@@ -4,19 +4,6 @@ ...@@ -4,19 +4,6 @@
extends = extends =
software-opc-ua.cfg software-opc-ua.cfg
[compile-coupler]
recipe = slapos.recipe.cmmi
path = ${osie-repository:location}/coupler/opc-ua-server/
environment =
C_COMPILER = gcc
OPEN62541_HOME = ${open62541:location}
OPEN62541_SOURCE_HOME = ${open62541-source:location}
BINARY_OUT_DIR = ${buildout:directory}/bin
C_COMPILER_EXTRA_FLAGS = -L ${mbedtls:location}/lib -lmbedtls -lmbedx509 -lmbedcrypto -l:libopen62541.so -L${open62541:location}/lib -I ${open62541:location}/include
# actually configure-command is useless here but needed by convention
configure-command =
${cmake:location}/bin/cmake
[instance-profile] [instance-profile]
recipe = slapos.recipe.template:jinja2 recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/instance-opc-ua-virtual.cfg.in template = ${:_profile_base_location_}/instance-opc-ua-virtual.cfg.in
......
...@@ -54,7 +54,7 @@ location = ${buildout:parts-directory}/osie ...@@ -54,7 +54,7 @@ location = ${buildout:parts-directory}/osie
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
path = ${osie-repository:location}/coupler/opc-ua-server/ path = ${osie-repository:location}/coupler/opc-ua-server/
environment = environment =
C_COMPILER = arm-linux-gnueabihf-gcc C_COMPILER = gcc
OPEN62541_HOME = ${open62541:location} OPEN62541_HOME = ${open62541:location}
OPEN62541_SOURCE_HOME = ${open62541-source:location} OPEN62541_SOURCE_HOME = ${open62541-source:location}
BINARY_OUT_DIR = ${buildout:directory}/bin BINARY_OUT_DIR = ${buildout:directory}/bin
......
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