diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2021-08-26 19:57:36 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-26 22:09:44 +0100 |
commit | f42b404a99a24ccaf1c1fe36a4be8ce9f0bc711a (patch) | |
tree | 7d4000bfb0eb17a2ba795632aa58cbbe679a412a | |
parent | 0e6b9a1e5f6a256cc0d881a3a9b81761b7d26ac4 (diff) | |
download | poky-f42b404a99a24ccaf1c1fe36a4be8ce9f0bc711a.tar.gz |
bitbake.conf: Use the new variable override syntax in a comment
It is probably a good idea if the comment that describes how variable
overrides work use the new override syntax...
(From OE-Core rev: 1fd8882db9011a6fe18da7611fba3426fd5cb00d)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/conf/bitbake.conf | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 46c8d08620..2140d498f7 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -743,11 +743,11 @@ DISTRO_NAME ??= "OpenEmbedded" | |||
743 | 743 | ||
744 | # Overrides are processed left to right, so the ones that are named later take precedence. | 744 | # Overrides are processed left to right, so the ones that are named later take precedence. |
745 | # You generally want them to go from least to most specific. This means that: | 745 | # You generally want them to go from least to most specific. This means that: |
746 | # A variable '<foo>_arm' overrides a variable '<foo>' when ${TARGET_ARCH} is arm. | 746 | # A variable '<foo>:arm' overrides a variable '<foo>' when ${TARGET_ARCH} is arm. |
747 | # A variable '<foo>_qemuarm' overrides '<foo>' and overrides '<foo>_arm' when ${MACHINE} is 'qemuarm'. | 747 | # A variable '<foo>:qemuarm' overrides '<foo>' and overrides '<foo>:arm' when ${MACHINE} is 'qemuarm'. |
748 | # If you use combination ie '<foo>_qemuarm_arm', then '<foo>_qemuarm_arm' will override | 748 | # If you use combination ie '<foo>:qemuarm:arm', then '<foo>:qemuarm:arm' will override |
749 | # '<foo>_qemuarm' and then '<foo>' will be overriden with that value from '<foo>_qemuarm'. | 749 | # '<foo>:qemuarm' and then '<foo>' will be overriden with that value from '<foo>:qemuarm'. |
750 | # And finally '<foo>_forcevariable' overrides any standard variable, with the highest priority. | 750 | # And finally '<foo>:forcevariable' overrides any standard variable, with the highest priority. |
751 | # This works for functions as well, they are really just variables. | 751 | # This works for functions as well, they are really just variables. |
752 | # | 752 | # |
753 | OVERRIDES = "${TARGET_OS}:${TRANSLATED_TARGET_ARCH}:pn-${PN}:${MACHINEOVERRIDES}:${DISTROOVERRIDES}:${CLASSOVERRIDE}${LIBCOVERRIDE}:forcevariable" | 753 | OVERRIDES = "${TARGET_OS}:${TRANSLATED_TARGET_ARCH}:pn-${PN}:${MACHINEOVERRIDES}:${DISTROOVERRIDES}:${CLASSOVERRIDE}${LIBCOVERRIDE}:forcevariable" |