summaryrefslogtreecommitdiffstats
path: root/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml
diff options
context:
space:
mode:
authorJérémy Rosen <jeremy.rosen@smile.fr>2016-08-16 14:04:47 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-18 10:06:26 +0100
commit0eb6d709b6c38aa27f33d8b0ef977a33350f0d75 (patch)
treef4b503fb079669fdc021f9b7a78f6d814862d7f4 /bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml
parentb50b14e37249fb23b8e4f3a86f9b245cba85ca86 (diff)
downloadpoky-0eb6d709b6c38aa27f33d8b0ef977a33350f0d75.tar.gz
bitbake: ast/ConfHandler: Add a syntax to clear variable
unset VAR will clear variable VAR unset VAR[flag] will clear flag "flag" from var VAR (Bitbake rev: bedbd46ece8d1285b5cd2ea07dc64b4875b479aa) Signed-off-by: Jérémy Rosen <jeremy.rosen@openwide.fr> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.xml17
1 files changed, 17 insertions, 0 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 5df00050ce..64f08157f6 100644
--- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml
+++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml
@@ -435,6 +435,23 @@
435 </para> 435 </para>
436 </section> 436 </section>
437 437
438 <section id='unsetting-variables'>
439 <title>Unseting variables</title>
440
441 <para>
442 It is possible to completely remove a variable or a variable flag
443 from BitBake's internal data dictionary by using the "unset" keyword.
444 Here is an example:
445 <literallayout class='monospaced'>
446 unset DATE
447 unset do_fetch[noexec]
448 </literallayout>
449 These two statements remove the <filename>DATE</filename> and the
450 <filename>do_fetch[noexec]</filename> flag.
451 </para>
452
453 </section>
454
438 <section id='providing-pathnames'> 455 <section id='providing-pathnames'>
439 <title>Providing Pathnames</title> 456 <title>Providing Pathnames</title>
440 457