[yocto] Sharing header files between out-of-tree KLMs

Khem Raj raj.khem at gmail.com
Tue Jun 21 15:13:03 PDT 2016


may be first one stages the header into build sysroot and otherone
adds a DEPENDS on the first one and expects it in
<sysroot>/usr/include/<yourmodule/

On Wed, Jun 8, 2016 at 6:11 AM, Vuille, Martin (Martin)
<vmartin at avaya.com> wrote:
> I am building two out-of-tree KLMs with separate yocto recipes.
>
>
>
> One of the KLMs depends on a data structure defined in the other one. At
>
> present the structure definition is simply duplicated in both KLMs’ source.
>
> I would prefer to define it in a header that one KLM can export and the
> other
>
> can #include.
>
>
>
> Is there a recommended/canonical way to do this?
>
>
>
> MV
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>



More information about the yocto mailing list