]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
ref-manual: Updated CLASSOVERRIDE with a new example.
authorScott Rifenbark <srifenbark@gmail.com>
Thu, 1 Sep 2016 19:56:16 +0000 (12:56 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 23 Sep 2016 14:27:32 +0000 (15:27 +0100)
(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

index 17203fe68e819964d08ce965de261fe1859c05fe..696b176d37097decd8f8321e96b9412abf9c8ddd 100644 (file)
          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