On Wed, 2017-05-17 at 09:58 +0200, Patrick Ohly wrote:
[...]
> + valid = d.getVar('IMAGE_MODE_VALID') or ''
> + if mode not in valid.split():
> + bb.fatal('Invalid image mode: IMAGE_MODE=%s (not in %s)' %
> (image_mode, valid))
> +}
A dedicated error message for the "IMAGE_MODE_VALID is empty" case is
needed. But let me wait for reactions before posting a v3.
--
Best Regards, Patrick Ohly
The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core