wic: add support to look in all layers and get plugins
authorJoão Henrique Ferreira de Freitas <joaohf@gmail.com>
Thu, 15 May 2014 01:37:28 +0000 (22:37 -0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 21 May 2014 08:09:02 +0000 (09:09 +0100)
commit77b95624ad84eb96f201fbbba2e6affdeaf5af07
tree184195be88af243a354e980c031d14104765cac7
parent40ad0de6b820aa25c318f15ad124d6ac8f31cc87
wic: add support to look in all layers and get plugins

Plugins are looked in 'scripts/lib/mic/plugins/[type]/' directory on all
BBLAYERS variable returned by bitbake environment. If found, it will
be load at runtime.

The user could create your own plugin and keep it inside its layers. For
now the path must be <layer-dir>/scripts/lib/mic/plugins/[type]/. Where
'type' could be 'imager' or 'source'.

(From OE-Core rev: bb6f5d7de1c7ce2680874a74949903db0f5bb91a)

Signed-off-by: João Henrique Ferreira de Freitas <joaohf@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/mic/plugin.py