mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 09:49:32 +02:00
meta: Don't use deprecated bitbake API
These have been deprecated for a long time, convert the remaining references to the correct modules and prepare for removal of the compatibility support from bitbake. (From OE-Core rev: 6a39835af2b2b3c7797fe05479341d71a3f3aaf6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -13,6 +13,6 @@ do_configure() {
|
||||
oe_runconf
|
||||
}
|
||||
|
||||
export AUTOMAKE = "${@bb.which('automake', d.getVar('PATH', True))}"
|
||||
export AUTOMAKE = "${@bb.utils.which('automake', d.getVar('PATH', True))}"
|
||||
|
||||
FILES_${PN} += "${datadir}/automake* ${datadir}/aclocal*"
|
||||
|
||||
@@ -34,7 +34,7 @@ python gcc_multilib_setup() {
|
||||
rel_path = os.path.relpath(fn, src_conf_dir)
|
||||
parent_dir = os.path.dirname(rel_path)
|
||||
bb.utils.mkdirhier('%s/%s' % (build_conf_dir, parent_dir))
|
||||
bb.copyfile(fn, '%s/%s' % (build_conf_dir, rel_path))
|
||||
bb.utils.copyfile(fn, '%s/%s' % (build_conf_dir, rel_path))
|
||||
|
||||
multilibs = (d.getVar('MULTILIB_VARIANTS', True) or '').split()
|
||||
if not multilibs:
|
||||
|
||||
Reference in New Issue
Block a user