From 04eb26b60435a65cbd2918defcd861aa45bc7f74 Mon Sep 17 00:00:00 2001 From: Patrick Vacek Date: Mon, 29 Apr 2019 14:44:37 +0200 Subject: aktualizr: fix cmake compilation for ptest. The cmake recipe in rocko doesn't support the build function that later release branches use, and by default it just compiles the default target (instead of 'all'). This fix will compile everything the same way as is done in the later release branches, but we have to be much more explicit about it. Signed-off-by: Patrick Vacek --- recipes-sota/aktualizr/aktualizr_git.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes-sota/aktualizr/aktualizr_git.bb b/recipes-sota/aktualizr/aktualizr_git.bb index e85a8cd..6cdb27b 100755 --- a/recipes-sota/aktualizr/aktualizr_git.bb +++ b/recipes-sota/aktualizr/aktualizr_git.bb @@ -72,7 +72,8 @@ RESOURCE_MEMORY_HIGH = "100M" RESOURCE_MEMORY_MAX = "80%" do_compile_ptest() { - cmake_runcmake_build --target build_tests "${PARALLEL_MAKE}" + bbnote VERBOSE=1 cmake --build '${B}' --target build_tests -- ${EXTRA_OECMAKE_BUILD} ${PARALLEL_MAKE} + VERBOSE=1 cmake --build '${B}' --target build_tests -- ${EXTRA_OECMAKE_BUILD} ${PARALLEL_MAKE} } do_install_ptest() { -- cgit v1.2.3-54-g00ecf