diff options
| author | Scott Rifenbark <srifenbark@gmail.com> | 2018-10-18 13:12:32 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-10-20 14:28:00 +0100 |
| commit | 4b4b9c9c1929b7e7ad1381791f6bb720d5d8bc54 (patch) | |
| tree | 6e8e76330e0269de6321bb4b33d37742248d2ca5 /documentation/ref-manual/ref-terms.xml | |
| parent | afec74f512508639648b76cc35fbfaf5f47455fe (diff) | |
| download | poky-4b4b9c9c1929b7e7ad1381791f6bb720d5d8bc54.tar.gz | |
ref-manual: Updates to describe wildcarding support
Added specific wildcarding support descriptions for all related
variables and file panthnames.
(From yocto-docs rev: 543e398c4ae1bce38517a88cd91c957a583a2892)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/ref-terms.xml')
| -rw-r--r-- | documentation/ref-manual/ref-terms.xml | 30 |
1 files changed, 25 insertions, 5 deletions
diff --git a/documentation/ref-manual/ref-terms.xml b/documentation/ref-manual/ref-terms.xml index e25a147549..c573a521a7 100644 --- a/documentation/ref-manual/ref-terms.xml +++ b/documentation/ref-manual/ref-terms.xml | |||
| @@ -29,11 +29,31 @@ | |||
| 29 | information in the similarly-named recipe file. | 29 | information in the similarly-named recipe file. |
| 30 | For an example of an append file in use, see the | 30 | For an example of an append file in use, see the |
| 31 | "<ulink url='&YOCTO_DOCS_DEV_URL;#using-bbappend-files'>Using .bbappend Files in Your Layer</ulink>" | 31 | "<ulink url='&YOCTO_DOCS_DEV_URL;#using-bbappend-files'>Using .bbappend Files in Your Layer</ulink>" |
| 32 | section in the Yocto Project Development Tasks Manual. | 32 | section in the Yocto Project Development Tasks Manual.</para> |
| 33 | <note> | 33 | |
| 34 | Append files can also use wildcard patterns in their | 34 | <para>When you name an append file, you can use the |
| 35 | version numbers so they can be applied to more than one | 35 | "<filename>%</filename>" wildcard character to allow for |
| 36 | version of the underlying recipe file. | 36 | matching recipe names. |
| 37 | For example, suppose you have an append file named as follows: | ||
| 38 | <literallayout class='monospaced'> | ||
| 39 | busybox_1.21.%.bbappend | ||
| 40 | </literallayout> | ||
| 41 | That append file would match any | ||
| 42 | <filename>busybox_1.21.</filename><replaceable>x</replaceable><filename>.bb</filename> | ||
| 43 | version of the recipe. | ||
| 44 | So, the append file would match the following recipe names: | ||
| 45 | <literallayout class='monospaced'> | ||
| 46 | busybox_1.21.1.bb | ||
| 47 | busybox_1.21.2.bb | ||
| 48 | busybox_1.21.3.bb | ||
| 49 | </literallayout> | ||
| 50 | <note><title>Important</title> | ||
| 51 | The use of the "<filename>%</filename>" character | ||
| 52 | is limited in that it only works directly in front of the | ||
| 53 | <filename>.bbappend</filename> portion of the append file's | ||
| 54 | name. | ||
| 55 | You cannot use the wildcard character in any other | ||
| 56 | location of the name. | ||
| 37 | </note> | 57 | </note> |
| 38 | </para></listitem> | 58 | </para></listitem> |
| 39 | <listitem><para id='bitbake-term'> | 59 | <listitem><para id='bitbake-term'> |
