Commit 223fae76 authored by Ivan Tyagov's avatar Ivan Tyagov

Make compilator configurable so that we can compile source code on different...

Make compilator configurable so that we can compile source code on different platforms (ArmV7 or x86).
parent 8eb23358
CC=arm-linux-gnueabihf-gcc CC=$(CC)
CFLAGS= -I $(OPEN62541_SOURCE_HOME) CFLAGS= -I $(OPEN62541_SOURCE_HOME)
LDFLAGS= -L $(OPEN62541_HOME)/lib LDFLAGS= -L $(OPEN62541_HOME)/lib
OUT_DIR= $(BINARY_OUT_DIR) OUT_DIR= $(BINARY_OUT_DIR)
......
...@@ -50,6 +50,7 @@ location = ${buildout:parts-directory}/osie ...@@ -50,6 +50,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 =
CC = arm-linux-gnueabihf-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