summaryrefslogtreecommitdiffstats
path: root/meta/classes/cmake.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-28 23:28:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-02 15:44:10 +0100
commitbb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch)
tree76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/classes/cmake.bbclass
parentfcc456ee4b8f619134abb4649db53c638074082c (diff)
downloadpoky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz
Convert to new override syntax
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/cmake.bbclass')
-rw-r--r--meta/classes/cmake.bbclass10
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass
index f01db7480b..92b9197c48 100644
--- a/meta/classes/cmake.bbclass
+++ b/meta/classes/cmake.bbclass
@@ -1,7 +1,7 @@
1# Path to the CMake file to process. 1# Path to the CMake file to process.
2OECMAKE_SOURCEPATH ??= "${S}" 2OECMAKE_SOURCEPATH ??= "${S}"
3 3
4DEPENDS_prepend = "cmake-native " 4DEPENDS:prepend = "cmake-native "
5B = "${WORKDIR}/build" 5B = "${WORKDIR}/build"
6 6
7# What CMake generator to use. 7# What CMake generator to use.
@@ -57,13 +57,13 @@ OECMAKE_PERLNATIVE_DIR ??= ""
57OECMAKE_EXTRA_ROOT_PATH ?= "" 57OECMAKE_EXTRA_ROOT_PATH ?= ""
58 58
59OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "ONLY" 59OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "ONLY"
60OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM_class-native = "BOTH" 60OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM:class-native = "BOTH"
61 61
62EXTRA_OECMAKE_append = " ${PACKAGECONFIG_CONFARGS}" 62EXTRA_OECMAKE:append = " ${PACKAGECONFIG_CONFARGS}"
63 63
64export CMAKE_BUILD_PARALLEL_LEVEL 64export CMAKE_BUILD_PARALLEL_LEVEL
65CMAKE_BUILD_PARALLEL_LEVEL_task-compile = "${@oe.utils.parallel_make(d, False)}" 65CMAKE_BUILD_PARALLEL_LEVEL:task-compile = "${@oe.utils.parallel_make(d, False)}"
66CMAKE_BUILD_PARALLEL_LEVEL_task-install = "${@oe.utils.parallel_make(d, True)}" 66CMAKE_BUILD_PARALLEL_LEVEL:task-install = "${@oe.utils.parallel_make(d, True)}"
67 67
68OECMAKE_TARGET_COMPILE ?= "all" 68OECMAKE_TARGET_COMPILE ?= "all"
69OECMAKE_TARGET_INSTALL ?= "install" 69OECMAKE_TARGET_INSTALL ?= "install"