From: Scott Rifenbark Date: Thu, 1 Sep 2016 19:56:16 +0000 (-0700) Subject: ref-manual: Updated CLASSOVERRIDE with a new example. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c3adec966ef5fad9c1f41a27e8d0daf084c706e7;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git ref-manual: Updated CLASSOVERRIDE with a new example. (From yocto-docs rev: 057e79672769eb1fbec87695a0084f42955f757d) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 17203fe68e8..696b176d370 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} } - Here is an example where "python-native" is added to - DEPENDS, - but only when building for the build host: + Here is an example where FOO + is set to "native" when building for the build host, and + to "other" when not building for the build host: - DEPENDS_append_class-native = " python-native" + FOO_class-native = "native" + FOO = "other" The underlying mechanism behind CLASSOVERRIDE is simply that it is