Commit 9858ce36 authored by apapkovskiy's avatar apapkovskiy
Browse files

Added A71CH lib path

parent 25cfde0e
......@@ -26,9 +26,6 @@ parts:
build-packages:
- build-essential
- libssl-dev
artifacts:
- bin/simple_server
- bin/A71CHConfigTool
configflags:
- -DCMAKE_BUILD_TYPE=Debug
- -DWithApplet_A71CH=ON
......@@ -39,6 +36,11 @@ parts:
- -DWithSMCOM_VCOM=OFF
- -DWithSMCOM_SCI2C=ON
- -DCMAKE_INSTALL_PREFIX=/sci2c
override-build: |
snapcraftctl build
mkdir -p ${SNAPCRAFT_PART_INSTALL}/bin
cp ./bin/simple_server ${SNAPCRAFT_PART_INSTALL}/bin/simple_server
cp ./bin/A71CHConfigTool ${SNAPCRAFT_PART_INSTALL}/bin/A71CHConfigTool
jrcp:
plugin: cmake
source: middleware
......@@ -65,9 +67,13 @@ parts:
apps:
jrcp-server:
environment:
LD_LIBRARY_PATH: $SNAP/sci2c/lib:$LD_LIBRARY_PATH
command: "bin/simple_server"
daemon: simple
plugs: &default-plugs [network-bind, network-control, network-setup-control, network]
A71CHConfigTool:
environment:
LD_LIBRARY_PATH: $SNAP/sci2c/lib:$LD_LIBRARY_PATH
command: "bin/A71CHConfigTool"
plugs: *default-plugs
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