diff options
Diffstat (limited to 'documentation/ref-manual/classes.rst')
-rw-r--r-- | documentation/ref-manual/classes.rst | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index a98a64c432..610d64bd46 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst | |||
@@ -472,8 +472,8 @@ recipe that fetches from an alternative URI (e.g. Git) instead of a | |||
472 | tarball. Following is an example:: | 472 | tarball. Following is an example:: |
473 | 473 | ||
474 | BBCLASSEXTEND = "devupstream:target" | 474 | BBCLASSEXTEND = "devupstream:target" |
475 | SRC_URI_class-devupstream = "git://git.example.com/example" | 475 | SRC_URI:class-devupstream = "git://git.example.com/example" |
476 | SRCREV_class-devupstream = "abcd1234" | 476 | SRCREV:class-devupstream = "abcd1234" |
477 | 477 | ||
478 | Adding the above statements to your recipe creates a variant that has | 478 | Adding the above statements to your recipe creates a variant that has |
479 | :term:`DEFAULT_PREFERENCE` set to "-1". | 479 | :term:`DEFAULT_PREFERENCE` set to "-1". |
@@ -481,8 +481,8 @@ Consequently, you need to select the variant of the recipe to use it. | |||
481 | Any development-specific adjustments can be done by using the | 481 | Any development-specific adjustments can be done by using the |
482 | ``class-devupstream`` override. Here is an example:: | 482 | ``class-devupstream`` override. Here is an example:: |
483 | 483 | ||
484 | DEPENDS_append_class-devupstream = " gperf-native" | 484 | DEPENDS:append:class-devupstream = " gperf-native" |
485 | do_configure_prepend_class-devupstream() { | 485 | do_configure:prepend:class-devupstream() { |
486 | touch ${S}/README | 486 | touch ${S}/README |
487 | } | 487 | } |
488 | 488 | ||
@@ -862,7 +862,7 @@ sure that all builders start with the same sstate signatures. After | |||
862 | inheriting the class, you can then disable the feature by setting the | 862 | inheriting the class, you can then disable the feature by setting the |
863 | :term:`ICECC_DISABLED` variable to "1" as follows:: | 863 | :term:`ICECC_DISABLED` variable to "1" as follows:: |
864 | 864 | ||
865 | INHERIT_DISTRO_append = " icecc" | 865 | INHERIT_DISTRO:append = " icecc" |
866 | ICECC_DISABLED ??= "1" | 866 | ICECC_DISABLED ??= "1" |
867 | 867 | ||
868 | This practice | 868 | This practice |
@@ -990,7 +990,7 @@ the check for symbolic link ``.so`` files in the main package of a | |||
990 | recipe, add the following to the recipe. You need to realize that the | 990 | recipe, add the following to the recipe. You need to realize that the |
991 | package name override, in this example ``${PN}``, must be used:: | 991 | package name override, in this example ``${PN}``, must be used:: |
992 | 992 | ||
993 | INSANE_SKIP_${PN} += "dev-so" | 993 | INSANE_SKIP:${PN} += "dev-so" |
994 | 994 | ||
995 | Please keep in mind that the QA checks | 995 | Please keep in mind that the QA checks |
996 | are meant to detect real or potential problems in the packaged | 996 | are meant to detect real or potential problems in the packaged |
@@ -2497,7 +2497,7 @@ indicate the package to which the value applies. If the value applies to | |||
2497 | the recipe's main package, use ``${``\ :term:`PN`\ ``}``. Here | 2497 | the recipe's main package, use ``${``\ :term:`PN`\ ``}``. Here |
2498 | is an example from the connman recipe:: | 2498 | is an example from the connman recipe:: |
2499 | 2499 | ||
2500 | SYSTEMD_SERVICE_${PN} = "connman.service" | 2500 | SYSTEMD_SERVICE:${PN} = "connman.service" |
2501 | 2501 | ||
2502 | Services are set up to start on boot automatically | 2502 | Services are set up to start on boot automatically |
2503 | unless you have set | 2503 | unless you have set |