diff options
Diffstat (limited to 'bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst')
-rw-r--r-- | bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst index c0eb118eb5..c98b3a9e7f 100644 --- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst +++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst | |||
@@ -973,7 +973,7 @@ Tasks | |||
973 | Tasks are BitBake execution units that make up the steps that BitBake | 973 | Tasks are BitBake execution units that make up the steps that BitBake |
974 | can run for a given recipe. Tasks are only supported in recipes and | 974 | can run for a given recipe. Tasks are only supported in recipes and |
975 | classes (i.e. in ``.bb`` files and files included or inherited from | 975 | classes (i.e. in ``.bb`` files and files included or inherited from |
976 | ``.bb`` files). By convention, tasks have names that start with "do_". | 976 | ``.bb`` files). By convention, tasks have names that start with "do\_". |
977 | 977 | ||
978 | Promoting a Function to a Task | 978 | Promoting a Function to a Task |
979 | ------------------------------ | 979 | ------------------------------ |
@@ -987,8 +987,8 @@ task and declare some dependencies: python do_printdate () { import time | |||
987 | print time.strftime('%Y%m%d', time.gmtime()) } addtask printdate after | 987 | print time.strftime('%Y%m%d', time.gmtime()) } addtask printdate after |
988 | do_fetch before do_build The first argument to ``addtask`` is the name | 988 | do_fetch before do_build The first argument to ``addtask`` is the name |
989 | of the function to promote to a task. If the name does not start with | 989 | of the function to promote to a task. If the name does not start with |
990 | "do_", "do_" is implicitly added, which enforces the convention that all | 990 | "do\_", "do\_" is implicitly added, which enforces the convention that all |
991 | task names start with "do_". | 991 | task names start with "do\_". |
992 | 992 | ||
993 | In the previous example, the ``do_printdate`` task becomes a dependency | 993 | In the previous example, the ``do_printdate`` task becomes a dependency |
994 | of the ``do_build`` task, which is the default task (i.e. the task run | 994 | of the ``do_build`` task, which is the default task (i.e. the task run |
@@ -1030,7 +1030,7 @@ Additionally, the ``do_printdate`` task becomes dependent upon the | |||
1030 | -c | 1030 | -c |
1031 | NBSP | 1031 | NBSP |
1032 | task | 1032 | task |
1033 | command, you can omit the "do_" prefix as part of the task name. | 1033 | command, you can omit the "do\_" prefix as part of the task name. |
1034 | 1034 | ||
1035 | You might wonder about the practical effects of using ``addtask`` | 1035 | You might wonder about the practical effects of using ``addtask`` |
1036 | without specifying any dependencies as is done in the following example: | 1036 | without specifying any dependencies as is done in the following example: |
@@ -1714,10 +1714,10 @@ Support for wildcard use in variables varies depending on the context in | |||
1714 | which it is used. For example, some variables and file names allow | 1714 | which it is used. For example, some variables and file names allow |
1715 | limited use of wildcards through the "``%``" and "``*``" characters. | 1715 | limited use of wildcards through the "``%``" and "``*``" characters. |
1716 | Other variables or names support Python's | 1716 | Other variables or names support Python's |
1717 | ```glob`https://docs.python.org/3/library/glob.html syntax, | 1717 | `glob <https://docs.python.org/3/library/glob.html>`_ syntax, |
1718 | ```fnmatch`https://docs.python.org/3/library/fnmatch.html#module-fnmatch | 1718 | `fnmatch <https://docs.python.org/3/library/fnmatch.html#module-fnmatch>`_ |
1719 | syntax, or | 1719 | syntax, or |
1720 | ```Regular Expression (re)`https://docs.python.org/3/library/re.html#re | 1720 | `Regular Expression (re) <https://docs.python.org/3/library/re.html#re>`_ |
1721 | syntax. | 1721 | syntax. |
1722 | 1722 | ||
1723 | For variables that have wildcard suport, the documentation describes | 1723 | For variables that have wildcard suport, the documentation describes |