aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-01 08:52:40 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-01 15:51:36 +0100
commit6a39835af2b2b3c7797fe05479341d71a3f3aaf6 (patch)
tree62168efbc801dfa127498c369e07261f11a278e9 /meta/recipes-devtools
parent56d144fd22d37189e49cdf3032afb00f0be469c6 (diff)
downloadopenembedded-core-6a39835af2b2b3c7797fe05479341d71a3f3aaf6.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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/automake/automake.inc2
-rw-r--r--meta/recipes-devtools/gcc/gcc-multilib-config.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/automake/automake.inc b/meta/recipes-devtools/automake/automake.inc
index ae743cc58a..507c062e4a 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 f89aa8ea7f..005aa6b814 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: