dreport: refactor install_dreport_user_scripts
Pull the code that makes the plugin links for a single
script into its own function and then call it from
install_dreport_user_scripts.
This allows other layers to bbappend this recipe and
call the new install_dreport_user_script function so they
can link in their own dreport plugins.
The bbappends would need to:
* install their own plugins into ${D}${dreport_plugin_dir}
* call the new install_dreport_user_script function for
each of these plugins
* add any new functions to do_install[postfuncs]
Tested: Check that the bitbake output directory structure
matches what it was before the change.
Change-Id: Id0e97c2ed2f5233df70049a472c2a785f5efde71
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
1 file changed