Skip to contentSkip to conversation

bitbake-user-manual: Fix order of end tags

PATCH New Jacob Kroon 1 participant 2 messages Mar 18, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 bitbake-user-manual: Fix order of end tags

Fixes commit e22565968828c86983162e67f52ebb106242ca76.

---
 doc/bitbake-user-manual/bitbake-user-manual-execution.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
doc/bitbake-user-manual/bitbake-user-manual-execution.xml +2 -2
index 3b31f748..6c5234ed 100644
@@ -976,7 +976,7 @@
                     <filename>False</filename>, that logger will be completely
                     replaced by user configuration. In this case, no other
                     rules will apply to that logger.
-                </listitem></para>
+                </para></listitem>
                 <listitem><para>
                     All user defined <filename>filter</filename> and
                     <filename>handlers</filename> properties for a given logger
@@ -987,7 +987,7 @@
                     configuration adds a filter called
                     <filename>BitBake.defaultFilter</filename>, both filters
                     will be applied to the logger
-                </listitem></para>
+                </para></listitem>
             </itemizedlist>
         </para>
 
Signature · 1 line
2.25.1
#1 lore raw

PATCH 2/2 bitbake-user-manual: immediate-variable-expansion: Correct description

References to undefined variables are preserved as is and do not expand to nothing as in GNU Make.

---
 .../bitbake-user-manual-metadata.xml              | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)
doc/bitbake-user-manual/bitbake-user-manual-metadata.xml +9 -6
index bb5a7f86..10b58835 100644
@@ -294,17 +294,20 @@
                 rather than when the variable is actually used:
                 <literallayout class='monospaced'>
      T = "123"
-     A := "${B} ${A} test ${T}"
+     A := "test ${T}"
      T = "456"
-     B = "${T} bval"
+     B := "${T} ${C}"
      C = "cval"
      C := "${C}append"
                 </literallayout>
                 In this example, <filename>A</filename> contains
-                "test 123" because <filename>${B}</filename> and
-                <filename>${A}</filename> at the time of parsing are undefined,
-                which leaves "test 123".
-                And, the variable <filename>C</filename>
+                "test 123", even though the final value of <filename>T</filename>
+                is "456".
+                The variable <filename>B</filename> will end up containing "456 cvalappend".
+                This is because references to undefined variables are preserved as is
+                during (immediate)expansion. This is in contrast to GNU Make, where undefined
+                variables expand to nothing.
+                The variable <filename>C</filename>
                 contains "cvalappend" since <filename>${C}</filename> immediately
                 expands to "cval".
             </para>
Signature · 1 line
2.25.1