diff options
Diffstat (limited to 'bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml')
-rw-r--r-- | bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml index 0dafb03250..484b907518 100644 --- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml +++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml | |||
@@ -952,7 +952,7 @@ | |||
952 | <listitem><para> | 952 | <listitem><para> |
953 | The class needs to define the function as follows: | 953 | The class needs to define the function as follows: |
954 | <literallayout class='monospaced'> | 954 | <literallayout class='monospaced'> |
955 | <classname>_<functionname> | 955 | <replaceable>classname</replaceable><filename>_</filename><replaceable>functionname</replaceable> |
956 | </literallayout> | 956 | </literallayout> |
957 | For example, if you have a class file | 957 | For example, if you have a class file |
958 | <filename>bar.bbclass</filename> and a function named | 958 | <filename>bar.bbclass</filename> and a function named |
@@ -966,7 +966,7 @@ | |||
966 | The class needs to contain the <filename>EXPORT_FUNCTIONS</filename> | 966 | The class needs to contain the <filename>EXPORT_FUNCTIONS</filename> |
967 | statement as follows: | 967 | statement as follows: |
968 | <literallayout class='monospaced'> | 968 | <literallayout class='monospaced'> |
969 | EXPORT_FUNCTIONS <functionname> | 969 | EXPORT_FUNCTIONS <replaceable>functionname</replaceable> |
970 | </literallayout> | 970 | </literallayout> |
971 | For example, continuing with the same example, the | 971 | For example, continuing with the same example, the |
972 | statement in the <filename>bar.bbclass</filename> would be | 972 | statement in the <filename>bar.bbclass</filename> would be |
@@ -1164,7 +1164,7 @@ | |||
1164 | BitBake reads and writes varflags to the datastore using the following | 1164 | BitBake reads and writes varflags to the datastore using the following |
1165 | command forms: | 1165 | command forms: |
1166 | <literallayout class='monospaced'> | 1166 | <literallayout class='monospaced'> |
1167 | <variable> = d.getVarFlags("<variable>") | 1167 | <replaceable>variable</replaceable> = d.getVarFlags("<replaceable>variable</replaceable>") |
1168 | self.d.setVarFlags("FOO", {"func": True}) | 1168 | self.d.setVarFlags("FOO", {"func": True}) |
1169 | </literallayout> | 1169 | </literallayout> |
1170 | </para> | 1170 | </para> |