recipes-ti: Don't use deprecated functions from utils.bbclass
PATCH 1/1 recipes-ti: Don't use deprecated functions from utils.bbclass
From OE-Core commit c97acbd034532895ce57c6717ed1b3ccc7900b0d:
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.
Signed-off-by Fabio Berton <[email protected]>
--- recipes-ti/dsplink/ti-dsplink.inc | 2 +- recipes-ti/local-power-manager/ti-local-power-manager.inc | 2 +- recipes-ti/syslink/ti-syslink.inc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
recipes-ti/dsplink/ti-dsplink.inc +1 -1
@@ -150,7 +150,7 @@ do_compile() { all } -KERNEL_VERSION = "${@base_read_file('${STAGING_KERNEL_DIR}/kernel-abiversion')}" +KERNEL_VERSION = "${@oe.utils.read_file('${STAGING_KERNEL_DIR}/kernel-abiversion')}" do_install () {
recipes-ti/local-power-manager/ti-local-power-manager.inc +1 -1
@@ -92,7 +92,7 @@ do_compile () { XDCPATH=${S} ${XDC_INSTALL_DIR}/xdc -PR . } -KERNEL_VERSION = "${@base_read_file('${STAGING_KERNEL_DIR}/kernel-abiversion')}" +KERNEL_VERSION = "${@oe.utils.read_file('${STAGING_KERNEL_DIR}/kernel-abiversion')}" do_install () {
recipes-ti/syslink/ti-syslink.inc +1 -1
@@ -181,7 +181,7 @@ do_compile() { `${XDC_INSTALL_DIR}/bin/xdcpkg ${SYSLINK_ROOT}/ti/syslink | grep samples` } -KERNEL_VERSION = "${@base_read_file('${STAGING_KERNEL_DIR}/kernel-abiversion')}" +KERNEL_VERSION = "${@oe.utils.read_file('${STAGING_KERNEL_DIR}/kernel-abiversion')}" do_install () {
Signature · 1 line
2.14.2