summaryrefslogtreecommitdiffstats
path: root/meta/classes/module-base.bbclass
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-01-29 17:11:09 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-30 11:50:11 +0000
commit563a020870ee0e8212609639c74f19a0f4fc0847 (patch)
treebc39b9e94dd82161a84d8549b1ffc7ba8443f905 /meta/classes/module-base.bbclass
parent34c6b6d2044b4611a6dcc855c99aeadaf1c0394d (diff)
downloadpoky-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.bbclass2
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.
13export KBUILD_OUTPUT = "${STAGING_KERNEL_BUILDDIR}" 13export KBUILD_OUTPUT = "${STAGING_KERNEL_BUILDDIR}"
14 14
15export KERNEL_VERSION = "${@base_read_file('${STAGING_KERNEL_BUILDDIR}/kernel-abiversion')}" 15export KERNEL_VERSION = "${@oe.utils.read_file('${STAGING_KERNEL_BUILDDIR}/kernel-abiversion')}"
16KERNEL_OBJECT_SUFFIX = ".ko" 16KERNEL_OBJECT_SUFFIX = ".ko"
17 17
18# kernel modules are generally machine specific 18# kernel modules are generally machine specific