From c3adec966ef5fad9c1f41a27e8d0daf084c706e7 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 1 Sep 2016 12:56:16 -0700 Subject: ref-manual: Updated CLASSOVERRIDE with a new example. (From yocto-docs rev: 057e79672769eb1fbec87695a0084f42955f757d) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'documentation') 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 @@ 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 -- cgit v1.2.3-54-g00ecf