diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2017-04-27 16:50:29 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-29 11:17:23 +0100 |
commit | 33f378ee3354ceffe26d6288098d8ef78f5677f2 (patch) | |
tree | a060995d2016e70a0d5995e8b6f4f278f37a9e5c | |
parent | edb7672c276954fe2020f816c11c09c780ae591c (diff) | |
download | poky-33f378ee3354ceffe26d6288098d8ef78f5677f2.tar.gz |
cmake.bbclass: use weakest ??= assignment for default OECMAKE_SOURCEPATH
Make it slightly easier to support situations where the default path
needs to be over-ridden more than once.
(From OE-Core rev: 07390e3d45cdf244079a6b91175512ebac789da0)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/cmake.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass index 20d8a61069..12df617ad8 100644 --- a/meta/classes/cmake.bbclass +++ b/meta/classes/cmake.bbclass | |||
@@ -1,5 +1,5 @@ | |||
1 | # Path to the CMake file to process. | 1 | # Path to the CMake file to process. |
2 | OECMAKE_SOURCEPATH ?= "${S}" | 2 | OECMAKE_SOURCEPATH ??= "${S}" |
3 | 3 | ||
4 | DEPENDS_prepend = "cmake-native " | 4 | DEPENDS_prepend = "cmake-native " |
5 | B = "${WORKDIR}/build" | 5 | B = "${WORKDIR}/build" |