[oe] [meta-oe][PATCH v1 3/4] BCC: Add build recipe

Leo Yan leo.yan at linaro.org
Tue Feb 18 07:27:26 UTC 2020


Hi Khem,

On Mon, Feb 17, 2020 at 10:30:46PM -0800, Khem Raj wrote:

[...]

> > +DEPENDS += "bison-native \
> > +            ninja-native \
> > +            elfutils-native \
> > +            flex-native \
> > +            ${MLPREFIX}elfutils \
> > +            ${MLPREFIX}binutils \
> > +            ${MLPREFIX}flex \
> > +            luajit \
> > +            clang \
> > +            "
> > +
> 
> this will add meta-clang dependency directly into meta-oe, which is not desired
> is it possible to make it optional or perhaps marked when meta-clang
> is not in BBLAYERS

Thanks a lot for reviewing.  clang is mandotory for BCC to compile
eBPF programs, so I think we cannot build clang as optional for BCC.

For marking the recipe when meta-clang is not in BBLAYERS, I searched
with google but seems 'LAYERDEPENDS' and 'BBMASK' both are not suitable
for this case.  Could you give more detailed info for how to do this?

Thanks,
Leo


More information about the Openembedded-devel mailing list