summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/waf.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/waf.bbclass b/meta/classes/waf.bbclass
index f9a851d075..19e93761b3 100644
--- a/meta/classes/waf.bbclass
+++ b/meta/classes/waf.bbclass
@@ -15,6 +15,8 @@ python waf_preconfigure() {
15 d.setVar("WAF_EXTRA_CONF", "--bindir=${bindir} --libdir=${libdir}") 15 d.setVar("WAF_EXTRA_CONF", "--bindir=${bindir} --libdir=${libdir}")
16 except subprocess.CalledProcessError as e: 16 except subprocess.CalledProcessError as e:
17 bb.warn("Unable to execute waf --version, exit code %d. Assuming waf version without bindir/libdir support." % e.returncode) 17 bb.warn("Unable to execute waf --version, exit code %d. Assuming waf version without bindir/libdir support." % e.returncode)
18 except FileNotFoundError:
19 bb.fatal("waf does not exist in %s" % subsrcdir)
18} 20}
19 21
20do_configure[prefuncs] += "waf_preconfigure" 22do_configure[prefuncs] += "waf_preconfigure"