From dd29a9c7474d5e759b9443227a63e0c9ef9f8ca8 Mon Sep 17 00:00:00 2001 From: Bill Traynor Date: Mon, 15 Apr 2013 20:22:12 -0400 Subject: user-manual-metadata: fixup closing tags Fixed section tags. Signed-off-by: Bill Traynor --- doc/user-manual/user-manual-metadata.xml | 40 ++++---------------------------- 1 file changed, 5 insertions(+), 35 deletions(-) diff --git a/doc/user-manual/user-manual-metadata.xml b/doc/user-manual/user-manual-metadata.xml index 984f5965c..d2a721a9e 100644 --- a/doc/user-manual/user-manual-metadata.xml +++ b/doc/user-manual/user-manual-metadata.xml @@ -467,31 +467,6 @@ yourself. -
- Functions and Tasks -
- Defining Executable Metadata - - NOTE: - This is only supported in .bb and .bbclass files. - - - do_mytask () { echo "Hello, world!" } - - - This is essentially identical to setting a variable, except that - this variable happens to be executable shell code. - - - python do_printdate () { import time print - time.strftime('%Y%m%d', time.gmtime()) } - - - This is the similar to the previous, but flags it as Python so - that BitBake knows it is Python code. - -
-
Defining Python Functions into the Global Python Namespace @@ -524,9 +499,7 @@ yourself.
Functions -
- - NOTE: This is only supported in .bb and .bbclass files. + NOTE: This is only supported in .bb and .bbclass files. As with most languages, functions are the building blocks that define operations. Bitbake supports shell and python functions. @@ -568,8 +541,6 @@ direct python function calls. The "bb" and "os" modules are still automatically available and there is no need to import them. -
-
@@ -867,12 +838,11 @@ need to import them. namespace.
-
Task Checksums and Setscene -
+ -
-
- + + + \ No newline at end of file -- cgit 1.2.3-korg