Hi, On 01/11/2019 07:10, grygorii tertychnyi via Openembedded-core wrote: > do_ar_recipe fails on perf recipe on line: > > include ${@bb.utils.contains('PACKAGECONFIG', 'scripting', 'perf-perl.inc', > '', d)} > > 1. "${...}" part expands into empty string > 2. bb.utils.which() takes empty string and returns first directory name from > bbpath
This doesn't sound sane. If the include directive has no argument, incfile should end up None. That's what the code "assumes" at this point. I would fix it either at the regex expression level or stripping the matched string. I reckon the former makes more sense (.*). -- Andrei Gherzan -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core