mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
34c6b6d204
commit
563a020870
@@ -12,7 +12,7 @@ export CROSS_COMPILE = "${TARGET_PREFIX}"
|
||||
# we didn't pick the name.
|
||||
export KBUILD_OUTPUT = "${STAGING_KERNEL_BUILDDIR}"
|
||||
|
||||
export KERNEL_VERSION = "${@base_read_file('${STAGING_KERNEL_BUILDDIR}/kernel-abiversion')}"
|
||||
export KERNEL_VERSION = "${@oe.utils.read_file('${STAGING_KERNEL_BUILDDIR}/kernel-abiversion')}"
|
||||
KERNEL_OBJECT_SUFFIX = ".ko"
|
||||
|
||||
# kernel modules are generally machine specific
|
||||
|
||||
Reference in New Issue
Block a user