On Sun, Oct 26, 2014 at 8:15 AM, Vuille, Martin (Martin) <[email protected]>
wrote:

> I have custom classes that override a task thus (in foo.bbclass)
>
>         foo_do_something () {
>                 ...
>         }
>
>         EXPORT_FUNCTIONS do_something
>
> but if I change the name to foo-bar.bbclass and change the class thus
>
>         foo-bar_do_something () {
>                 ...
>         }
>
>         EXPORT_FUNCTIONS do_something
>
> then building fails with "foo-bar_do_something: not found" and, sure
> enough,
> run.do_something does not contain the definition of foo-bar_do_something.
>

- isn't a valid character in a shell function, so while potentially
irritating, it's not surprising :)
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-- 
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to