From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Thu, 5 Nov 2020 18:02:26 +0100 Subject: [Buildroot] [PATCH 03/10] package/pkg-generic.mk: add CPE ID related package variables In-Reply-To: References: <20201104145145.1316167-1-thomas.petazzoni@bootlin.com> <20201104145145.1316167-4-thomas.petazzoni@bootlin.com> Message-ID: <20201105180226.50270453@windsurf.home> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hello, On Wed, 4 Nov 2020 11:03:04 -0600 Matthew Weber wrote: > > If any of the _CPE_ID_{VENDOR,PRODUCT,...} variables are defined > > by the package, then _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 _CPE_ID, only the infrastructure can do that. I couldn't figure out a reasonable way to allow a package to set _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