diff options
author | Ross Burton <ross.burton@intel.com> | 2018-01-29 17:11:09 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-30 11:50:11 +0000 |
commit | 563a020870ee0e8212609639c74f19a0f4fc0847 (patch) | |
tree | bc39b9e94dd82161a84d8549b1ffc7ba8443f905 /meta/classes/module-base.bbclass | |
parent | 34c6b6d2044b4611a6dcc855c99aeadaf1c0394d (diff) | |
download | poky-563a020870ee0e8212609639c74f19a0f4fc0847.tar.gz |
meta: don't use deprecated functions from utils.bbclass
These functions were moved to meta/lib/oe in 2010 and the base_* functions in
utils.bbclass were intended to be a short-term compatibility layer. They're
still used in a few places, so update the callers to use the new functions.
(From OE-Core rev: c97acbd034532895ce57c6717ed1b3ccc7900b0d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/module-base.bbclass')
-rw-r--r-- | meta/classes/module-base.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/module-base.bbclass b/meta/classes/module-base.bbclass index 6fe77c01b7..f851b85163 100644 --- a/meta/classes/module-base.bbclass +++ b/meta/classes/module-base.bbclass | |||
@@ -12,7 +12,7 @@ export CROSS_COMPILE = "${TARGET_PREFIX}" | |||
12 | # we didn't pick the name. | 12 | # we didn't pick the name. |
13 | export KBUILD_OUTPUT = "${STAGING_KERNEL_BUILDDIR}" | 13 | export KBUILD_OUTPUT = "${STAGING_KERNEL_BUILDDIR}" |
14 | 14 | ||
15 | export KERNEL_VERSION = "${@base_read_file('${STAGING_KERNEL_BUILDDIR}/kernel-abiversion')}" | 15 | export KERNEL_VERSION = "${@oe.utils.read_file('${STAGING_KERNEL_BUILDDIR}/kernel-abiversion')}" |
16 | KERNEL_OBJECT_SUFFIX = ".ko" | 16 | KERNEL_OBJECT_SUFFIX = ".ko" |
17 | 17 | ||
18 | # kernel modules are generally machine specific | 18 | # kernel modules are generally machine specific |