On 13 June 2014 17:33, Miroslav Keš <[email protected]> wrote:
> + if [ -z "${OECMAKE_SOURCEPATH}" ]; then
> + OECMAKE_SOURCEPATH="${S}"
> fi
>
> if [ "${S}" != "${B}" ]; then
> @@ -84,7 +88,7 @@ cmake_do_configure() {
>
> cmake \
> ${OECMAKE_SITEFILE} \
> - ${S} \
> + ${OECMAKE_SOURCEPATH} \
A better idiom that's more self-documenting would be to set
OECMAKE_SOURCEPATH ?= "${S}" at the top-level.
Would it be sensible to give that variable a different name as it
refers specifically to the location of the cmake file, and not the
rest of the source?
Ross
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core