summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2016-09-01 12:56:16 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-23 15:27:32 +0100
commitc3adec966ef5fad9c1f41a27e8d0daf084c706e7 (patch)
tree57efe1c7075eca8503c3f151053e2e9d51f8d0f1 /documentation
parentd4cd787e08f5dcd4c188e632e7b1399b87dafa51 (diff)
downloadpoky-c3adec966ef5fad9c1f41a27e8d0daf084c706e7.tar.gz
ref-manual: Updated CLASSOVERRIDE with a new example.
(From yocto-docs rev: 057e79672769eb1fbec87695a0084f42955f757d) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/ref-manual/ref-variables.xml9
1 files changed, 5 insertions, 4 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index 17203fe68e..696b176d37 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -2011,11 +2011,12 @@
2011 install my-extra-file ${D}${sysconfdir} 2011 install my-extra-file ${D}${sysconfdir}
2012 } 2012 }
2013 </literallayout> 2013 </literallayout>
2014 Here is an example where "python-native" is added to 2014 Here is an example where <filename>FOO</filename>
2015 <link linkend='var-DEPENDS'><filename>DEPENDS</filename></link>, 2015 is set to "native" when building for the build host, and
2016 but only when building for the build host: 2016 to "other" when not building for the build host:
2017 <literallayout class='monospaced'> 2017 <literallayout class='monospaced'>
2018 DEPENDS_append_class-native = " python-native" 2018 FOO_class-native = "native"
2019 FOO = "other"
2019 </literallayout> 2020 </literallayout>
2020 The underlying mechanism behind 2021 The underlying mechanism behind
2021 <filename>CLASSOVERRIDE</filename> is simply that it is 2022 <filename>CLASSOVERRIDE</filename> is simply that it is