summaryrefslogtreecommitdiffstats
path: root/recipes-sota
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2017-01-18 17:15:30 +0200
committerPhil Wise <phil@advancedtelematic.com>2017-01-24 09:39:39 +0100
commitdd5686ad0dfa28ef4c391addf184b2a0f99eda54 (patch)
treeae36e97397a4c16a9424a186937a28fc165b6633 /recipes-sota
parent1fa2f8ea1c14a4493482ffd692fb3fa39844d827 (diff)
downloadmeta-updater-dd5686ad0dfa28ef4c391addf184b2a0f99eda54.tar.gz
sota-client-cpp: Build in release mode
Update to newer version of SOTA client C++ and build it in Release mode. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Diffstat (limited to 'recipes-sota')
-rw-r--r--recipes-sota/sota-client-cpp/sota-client-cpp_git.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes-sota/sota-client-cpp/sota-client-cpp_git.bb b/recipes-sota/sota-client-cpp/sota-client-cpp_git.bb
index b3c841c..07982b3 100644
--- a/recipes-sota/sota-client-cpp/sota-client-cpp_git.bb
+++ b/recipes-sota/sota-client-cpp/sota-client-cpp_git.bb
@@ -10,7 +10,7 @@ inherit cmake systemd
10 10
11S = "${WORKDIR}/git" 11S = "${WORKDIR}/git"
12 12
13SRCREV = "7194ec4aa39f71157af66751098340c854537817" 13SRCREV = "a974dc2eea47594a6177f4c69c2d937a819aa7b3"
14 14
15SRC_URI = " \ 15SRC_URI = " \
16 git://github.com/advancedtelematic/sota_client_cpp \ 16 git://github.com/advancedtelematic/sota_client_cpp \
@@ -19,6 +19,8 @@ SRC_URI = " \
19DEPENDS = "boost curl openssl" 19DEPENDS = "boost curl openssl"
20RDEPENDS = "" 20RDEPENDS = ""
21 21
22EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release"
23
22do_install() { 24do_install() {
23 install -d ${D}${bindir} 25 install -d ${D}${bindir}
24 install -m 0755 ${WORKDIR}/build/target/sota_client ${D}${bindir}/sota_client_cpp 26 install -m 0755 ${WORKDIR}/build/target/sota_client ${D}${bindir}/sota_client_cpp