[gnome-continuous-yocto/gnomeostree-3.28-rocko: 2620/8267] ref-manual: Updated CLASSOVERRIDE with a new example.
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 2620/8267] ref-manual: Updated CLASSOVERRIDE with a new example.
- Date: Sat, 16 Dec 2017 23:29:09 +0000 (UTC)
commit c3adec966ef5fad9c1f41a27e8d0daf084c706e7
Author: Scott Rifenbark <srifenbark gmail com>
Date: Thu Sep 1 12:56:16 2016 -0700
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>
documentation/ref-manual/ref-variables.xml | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index 17203fe..696b176 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -2011,11 +2011,12 @@
install my-extra-file ${D}${sysconfdir}
}
</literallayout>
- Here is an example where "python-native" is added to
- <link linkend='var-DEPENDS'><filename>DEPENDS</filename></link>,
- but only when building for the build host:
+ Here is an example where <filename>FOO</filename>
+ is set to "native" when building for the build host, and
+ to "other" when not building for the build host:
<literallayout class='monospaced'>
- DEPENDS_append_class-native = " python-native"
+ FOO_class-native = "native"
+ FOO = "other"
</literallayout>
The underlying mechanism behind
<filename>CLASSOVERRIDE</filename> is simply that it is
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]