[OE-core] [PATCH 1/1] waf.bbclass: Warn if waf doesn't exist

Burton, Ross ross.burton at intel.com
Thu Mar 22 17:24:34 UTC 2018


On 20 March 2018 at 23:49, Joshua Watt <jpewhacker at gmail.com> wrote:
> I didn't remember exactly why the previous one was rejected.... But looking
> back I think Ross was right that inheriting waf.bbclass without actually
> having waf should be an error (at some point). I was (perhaps incorrectly)
> presuming that even if you got the FileNotFoundError, do_configure would
> still fail. Is that correct? If not I think something strange is going on.

That's still my opinion: don't inherit waf if waf isn't being used.

Changing bb.warn to bb.fatal would make me happy...

Ross



More information about the Openembedded-core mailing list