diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-28 23:28:15 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-02 15:44:10 +0100 |
commit | bb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch) | |
tree | 76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/classes/base.bbclass | |
parent | fcc456ee4b8f619134abb4649db53c638074082c (diff) | |
download | poky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz |
Convert to new override syntax
This is the result of automated script conversion:
scripts/contrib/convert-overrides.py <oe-core directory>
converting the metadata to use ":" as the override character instead of "_".
(From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r-- | meta/classes/base.bbclass | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index ff0579c7d6..11b65171d9 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
@@ -74,10 +74,10 @@ def get_base_dep(d): | |||
74 | BASE_DEFAULT_DEPS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}compilerlibs virtual/libc" | 74 | BASE_DEFAULT_DEPS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}compilerlibs virtual/libc" |
75 | 75 | ||
76 | BASEDEPENDS = "" | 76 | BASEDEPENDS = "" |
77 | BASEDEPENDS_class-target = "${@get_base_dep(d)}" | 77 | BASEDEPENDS:class-target = "${@get_base_dep(d)}" |
78 | BASEDEPENDS_class-nativesdk = "${@get_base_dep(d)}" | 78 | BASEDEPENDS:class-nativesdk = "${@get_base_dep(d)}" |
79 | 79 | ||
80 | DEPENDS_prepend="${BASEDEPENDS} " | 80 | DEPENDS:prepend="${BASEDEPENDS} " |
81 | 81 | ||
82 | FILESPATH = "${@base_set_filespath(["${FILE_DIRNAME}/${BP}", "${FILE_DIRNAME}/${BPN}", "${FILE_DIRNAME}/files"], d)}" | 82 | FILESPATH = "${@base_set_filespath(["${FILE_DIRNAME}/${BP}", "${FILE_DIRNAME}/${BPN}", "${FILE_DIRNAME}/files"], d)}" |
83 | # THISDIR only works properly with imediate expansion as it has to run | 83 | # THISDIR only works properly with imediate expansion as it has to run |
@@ -91,7 +91,7 @@ def extra_path_elements(d): | |||
91 | path = path + "${STAGING_BINDIR_NATIVE}/" + e + ":" | 91 | path = path + "${STAGING_BINDIR_NATIVE}/" + e + ":" |
92 | return path | 92 | return path |
93 | 93 | ||
94 | PATH_prepend = "${@extra_path_elements(d)}" | 94 | PATH:prepend = "${@extra_path_elements(d)}" |
95 | 95 | ||
96 | def get_lic_checksum_file_list(d): | 96 | def get_lic_checksum_file_list(d): |
97 | filelist = [] | 97 | filelist = [] |
@@ -481,8 +481,8 @@ python () { | |||
481 | % (d.getVar('PN'), flag, 's' if len(intersec) > 1 else '', ' '.join(intersec))) | 481 | % (d.getVar('PN'), flag, 's' if len(intersec) > 1 else '', ' '.join(intersec))) |
482 | 482 | ||
483 | appendVar('DEPENDS', extradeps) | 483 | appendVar('DEPENDS', extradeps) |
484 | appendVar('RDEPENDS_${PN}', extrardeps) | 484 | appendVar('RDEPENDS:${PN}', extrardeps) |
485 | appendVar('RRECOMMENDS_${PN}', extrarrecs) | 485 | appendVar('RRECOMMENDS:${PN}', extrarrecs) |
486 | appendVar('PACKAGECONFIG_CONFARGS', extraconf) | 486 | appendVar('PACKAGECONFIG_CONFARGS', extraconf) |
487 | 487 | ||
488 | pn = d.getVar('PN') | 488 | pn = d.getVar('PN') |