[Buildroot] [PATCH 03/10] package/pkg-generic.mk: add CPE ID related package variables

Thomas Petazzoni thomas.petazzoni at bootlin.com
Thu Nov 5 17:02:26 UTC 2020


Hello,

On Wed, 4 Nov 2020 11:03:04 -0600
Matthew Weber <matthew.weber at rockwellcollins.com> wrote:

> > If any of the <pkg>_CPE_ID_{VENDOR,PRODUCT,...} variables are defined
> > by the package, then <pkg>_CPE_ID_VALID = YES will be set by the
> > generic package infrastructure.  
> 
> Oh good call, so we don't need to explicitly set the VALID if we've
> already tailored it.

That is the idea.

The only thing I am not fully happy with is that a package can't set
directly <pkg>_CPE_ID, only the infrastructure can do that. I couldn't
figure out a reasonable way to allow a package to set <pkg>_CPE_ID
while still keeping the generic-package code simple enough *and* match
the other constraints that we have.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list