diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-01 08:52:40 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-01 15:51:42 +0100 |
commit | 554c892ccf16ca564e7be94f84eaa73667170e15 (patch) | |
tree | 01b74616570ebd473abf6bb287cdfcfbd797d41b /meta/recipes-devtools | |
parent | 6d9e3a19384cbd737fdac729c6c0de5b06f8ec12 (diff) | |
download | ast2050-yocto-poky-554c892ccf16ca564e7be94f84eaa73667170e15.zip ast2050-yocto-poky-554c892ccf16ca564e7be94f84eaa73667170e15.tar.gz |
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>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/automake/automake.inc | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-multilib-config.inc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/automake/automake.inc b/meta/recipes-devtools/automake/automake.inc index ae743cc..507c062 100644 --- a/meta/recipes-devtools/automake/automake.inc +++ b/meta/recipes-devtools/automake/automake.inc @@ -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*" diff --git a/meta/recipes-devtools/gcc/gcc-multilib-config.inc b/meta/recipes-devtools/gcc/gcc-multilib-config.inc index f89aa8e..005aa6b 100644 --- a/meta/recipes-devtools/gcc/gcc-multilib-config.inc +++ b/meta/recipes-devtools/gcc/gcc-multilib-config.inc @@ -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: |