]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
waf.bbclass: cd to ${S} before checking version stable/rocke-next stable/rocko-next
authorJoshua Watt <jpewhacker@gmail.com>
Wed, 31 Jan 2018 19:49:56 +0000 (13:49 -0600)
committerArmin Kuster <akuster808@gmail.com>
Fri, 2 Mar 2018 04:55:08 +0000 (20:55 -0800)
commit571fc4f7325c1d9872a75297ad157b322aee50fe
treeb1c638955a7ee1270a200fab543ab38f121541cd
parentc3b4fbb4a2c527cc0b74b86b61b96a7b2d489846
waf.bbclass: cd to ${S} before checking version

waf requires that the current working directory be the project root (in
this case ${S} when it is invoked. The check to get the waf version was
being executed as a prefunc for do_configure, which meant it was
executed before the current working directory was switched to ${S}, and
thus would fail with some recipes. Fix this by changing to ${S} before
executing "waf --version"

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit aa168ee7f785ff007ca645db57698883922b5eb3)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/classes/waf.bbclass