[OE-core] [PATCH] classes/waf: Fix builds when B != S

Joshua Watt jpewhacker at gmail.com
Sat Dec 1 00:01:30 UTC 2018


On Fri, Nov 30, 2018, 5:00 PM Burton, Ross <ross.burton at intel.com wrote:

> On Fri, 30 Nov 2018 at 21:56, Joshua Watt <jpewhacker at gmail.com> wrote:
> > +B = "${WORKDIR}/${BPN}-${PV}"
>
> That's the default, so redundant.
>
> Does waf support out-of-tree builds sufficiently well that we can
> default  - or even mandate - out of tree?  i.e. follow meson and
> cmake, and just set B=$WORKDIR/build in the class.
>

Yes. This patch already does that by adding "-o ${B}" in do_configure. I
will change it to ${WORKDIR}/build. Out if curiosity, why is that preferred
over ${WORKDIR}/${BPN}-${PV} ?

>
> Ross
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20181130/e9650191/attachment.html>


More information about the Openembedded-core mailing list