diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2017-01-18 17:15:30 +0200 |
|---|---|---|
| committer | Phil Wise <phil@advancedtelematic.com> | 2017-01-24 09:39:39 +0100 |
| commit | dd5686ad0dfa28ef4c391addf184b2a0f99eda54 (patch) | |
| tree | ae36e97397a4c16a9424a186937a28fc165b6633 | |
| parent | 1fa2f8ea1c14a4493482ffd692fb3fa39844d827 (diff) | |
| download | meta-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>
| -rw-r--r-- | recipes-sota/sota-client-cpp/sota-client-cpp_git.bb | 4 |
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 | ||
| 11 | S = "${WORKDIR}/git" | 11 | S = "${WORKDIR}/git" |
| 12 | 12 | ||
| 13 | SRCREV = "7194ec4aa39f71157af66751098340c854537817" | 13 | SRCREV = "a974dc2eea47594a6177f4c69c2d937a819aa7b3" |
| 14 | 14 | ||
| 15 | SRC_URI = " \ | 15 | SRC_URI = " \ |
| 16 | git://github.com/advancedtelematic/sota_client_cpp \ | 16 | git://github.com/advancedtelematic/sota_client_cpp \ |
| @@ -19,6 +19,8 @@ SRC_URI = " \ | |||
| 19 | DEPENDS = "boost curl openssl" | 19 | DEPENDS = "boost curl openssl" |
| 20 | RDEPENDS = "" | 20 | RDEPENDS = "" |
| 21 | 21 | ||
| 22 | EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release" | ||
| 23 | |||
| 22 | do_install() { | 24 | do_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 |
