From 8c0a94129e0e1699cd72fd965ac1cc6504b1269f Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 18 Oct 2018 13:15:49 -0700 Subject: bitbake: bitbake-user-manual: Added wildcarding descriptions Fixes [YOCTO #12390] Added specific descriptions for how wildcarding works for a variety of variables and files (e.g. append files). (Bitbake rev: 0a4377cb1837ede213d9640344f4908de3689d91) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- .../bitbake-user-manual-ref-variables.xml | 50 +++++++++++++++++++--- 1 file changed, 43 insertions(+), 7 deletions(-) (limited to 'bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml') diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml index c327af52a9..d480881a24 100644 --- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml +++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml @@ -115,7 +115,8 @@ is either not set or set to "0". - Limited support for wildcard matching against the + Limited support for the "*" + wildcard character for matching against the beginning of host names exists. For example, the following setting matches git.gnu.org, @@ -124,6 +125,13 @@ BB_ALLOWED_NETWORKS = "*.gnu.org" + Important + The use of the "*" + character only works at the beginning of + a host name. + You cannot use the wildcard character in any + other location of the name. + Mirrors not in the host list are skipped and @@ -1082,7 +1090,19 @@ BBFILES - List of recipe files BitBake uses to build software. + + A space-separated list of recipe files BitBake uses to + build software. + + + + When specifying recipe files, you can pattern match using + Python's + glob + syntax. + For details on the syntax, see the documentation by + following the previous link. + @@ -1166,10 +1186,14 @@ match any of the expressions. It is as if BitBake does not see them at all. Consequently, matching files are not parsed or otherwise - used by BitBake. + used by BitBake. + + The values you provide are passed to Python's regular expression compiler. + Consequently, the syntax follows Python's Regular + Expression (re) syntax. The expressions are compared against the full paths to the files. For complete syntax information, see Python's @@ -1933,15 +1957,27 @@ you want to select, and you should set PV accordingly for precedence. - You can use the "%" character as a - wildcard to match any number of characters, which can be - useful when specifying versions that contain long revision - numbers that could potentially change. + + + + The PREFERRED_VERSION variable + supports limited wildcard use through the + "%" character. + You can use the character to match any number of + characters, which can be useful when specifying versions + that contain long revision numbers that potentially change. Here are two examples: PREFERRED_VERSION_python = "2.7.3" PREFERRED_VERSION_linux-yocto = "4.12%" + Important + The use of the "%" character + is limited in that it only works at the end of the + string. + You cannot use the wildcard character in any other + location of the string. + -- cgit v1.2.3-54-g00ecf