[Buildroot] [PATCH 1/3] docs/manual: do not expose CPE_ID_VALID as package-settable

Yann E. MORIN yann.morin.1998 at free.fr
Fri Mar 5 22:27:42 UTC 2021


FOO_CPE_ID_VALID is an internal implementation detail. Packages should
really define an actual CPE_ID variable to trigger their full CPE_ID
definition.

Reported-by: Peter Korsgaard <peter at korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
Cc: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
Cc: Matthew Weber <matthew.weber at rockwellcollins.com>
Cc: Fabrice Fontaine <fontaine.fabrice at gmail.com>
---
 docs/manual/adding-packages-generic.txt | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/docs/manual/adding-packages-generic.txt b/docs/manual/adding-packages-generic.txt
index 75af18b70c..67336b4c1f 100644
--- a/docs/manual/adding-packages-generic.txt
+++ b/docs/manual/adding-packages-generic.txt
@@ -531,12 +531,6 @@ infrastructure assumes the package provides valid CPE information. In
 this case, +LIBFOO_CPE_ID_VALID = YES+ will be set, and the generic
 package infrastructure will define +LIBFOO_CPE_ID+.
 +
-Alternatively, a package can also explicitly set +LIBFOO_CPE_ID_VALID
-= YES+ if the default values for +LIBFOO_CPE_ID_PREFIX+,
-+LIBFOO_CPE_ID_VENDOR+, +LIBFOO_CPE_ID_PRODUCT+,
-+LIBFOO_CPE_ID_VERSION+, +LIBFOO_CPE_ID_UPDATE+ are all correct for
-this package and don't need to be explicitly overridden.
-+
 For a host package, if its +LIBFOO_CPE_ID_*+ variables are not
 defined, it inherits the value of those variables from the
 corresponding target package.
-- 
2.25.1



More information about the buildroot mailing list