summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2017-04-27 16:50:29 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-04-29 11:17:23 +0100
commit33f378ee3354ceffe26d6288098d8ef78f5677f2 (patch)
treea060995d2016e70a0d5995e8b6f4f278f37a9e5c
parentedb7672c276954fe2020f816c11c09c780ae591c (diff)
downloadpoky-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.bbclass2
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.
2OECMAKE_SOURCEPATH ?= "${S}" 2OECMAKE_SOURCEPATH ??= "${S}"
3 3
4DEPENDS_prepend = "cmake-native " 4DEPENDS_prepend = "cmake-native "
5B = "${WORKDIR}/build" 5B = "${WORKDIR}/build"