[poky] [PULL] waf: Fix building recipes with EXTERNALSRC defined

Bjarke Freund-Hansen bjarkefh at gmail.com
Sun Jun 10 23:54:55 PDT 2018


waf does not support being executed from another directory than the one
containing the wscript file.

Normally this is not a problem as CWD will be the same as the one
containg the waf build tool script and the wscript file. However when
building with EXTERNALSRC defined for a recipe waf would be executed
with CWD set to the normal build dir, where it cannot find wscript
and thus fails.

The solution is to change CWD to the dir containg the waf script
before executing waf.


The following changes since commit fe6e6231441188c3ffe52ef5811a8f30d29ea952:

local.conf.sample: update libsdl mentions to libsdl2 (2018-06-07 08:53:19
+0100)


are available in the Git repository at:

git://push.yoctoproject.org/poky-contrib bjarkefh/waf-fix-externalsrc-build


Bjarke Freund-Hansen (1):
waf: Fix building recipes with EXTERNALSRC defined


meta/classes/waf.bbclass | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)


-- 
2.17.1


/Bjarke Freund-Hansen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20180611/d47ad715/attachment.html>


More information about the poky mailing list