Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] cmake.bbclass: use weakest ??= assignment for default OECMAKE_SOURCEPATH
@ 2017-04-27 23:50 Andre McCurdy
  0 siblings, 0 replies; only message in thread
From: Andre McCurdy @ 2017-04-27 23:50 UTC (permalink / raw)
  To: openembedded-core

Make it slightly easier to support situations where the default path
needs to be over-ridden more than once.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
---
 meta/classes/cmake.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass
index 3f67091..f58ad78 100644
--- a/meta/classes/cmake.bbclass
+++ b/meta/classes/cmake.bbclass
@@ -1,5 +1,5 @@
 # Path to the CMake file to process.
-OECMAKE_SOURCEPATH ?= "${S}"
+OECMAKE_SOURCEPATH ??= "${S}"
 
 DEPENDS_prepend = "cmake-native "
 B = "${WORKDIR}/build"
-- 
1.9.1



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-04-27 23:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-27 23:50 [PATCH] cmake.bbclass: use weakest ??= assignment for default OECMAKE_SOURCEPATH Andre McCurdy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox