From 0cfc71d1a342b82781b0ba547421e41f6340902a Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Wed, 24 Oct 2018 16:11:03 -0700 Subject: bitbake-user-manual: Updates to variable wildcard support. Fixes [YOCTO #12390] Applied some fixes to the variable wildcard support documentation in the BitBake manual. Wording changes and changes to make links referencing Python syntax go to version 3 rather than version 2. Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- .../bitbake-user-manual-metadata.xml | 23 +++++++++++----------- .../bitbake-user-manual-ref-variables.xml | 17 +++++++++++----- 2 files changed, 24 insertions(+), 16 deletions(-) diff --git a/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml b/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml index df5364c29..8bfa32baa 100644 --- a/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml +++ b/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml @@ -2752,27 +2752,28 @@ -
- Wildcard Support +
+ Wildcard Support in Variables - Support for wildcard use varies depending on the context in - which it is used. + Support for wildcard use in variables varies depending on the + context in which it is used. For example, some variables and file names allow limited use of wildcards through the "%" and "*" characters. Other variables or names support Python's - glob + glob syntax, - fnmatch - syntax, or Regular Expression (re) syntax. + fnmatch + syntax, or + Regular Expression (re) + syntax. - When a particular variable's list of filenames or filenames - in general used by BitBake or a build system - based on BitBake support the use of wildcards, the - documentation describes its use and limitations. + For variables that have wildcard suport, the + documentation describes which form of wildcard, its + use, and its limitations.
diff --git a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml index d480881a2..a84b2bc99 100644 --- a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml +++ b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml @@ -126,11 +126,18 @@ BB_ALLOWED_NETWORKS = "*.gnu.org" Important - The use of the "*" + The use of the "*" character only works at the beginning of - a host name. + a host name and it must be isolated from + the remainder of the host name. You cannot use the wildcard character in any - other location of the name. + other location of the name or combined with + the front part of the name. + + For example, + *.foo.bar is supported, + while *aa.foo.bar is not. + @@ -1098,7 +1105,7 @@ When specifying recipe files, you can pattern match using Python's - glob + glob syntax. For details on the syntax, see the documentation by following the previous link. @@ -1198,7 +1205,7 @@ the files. For complete syntax information, see Python's documentation at - . + . -- cgit 1.2.3-korg