Since device-tree.bb in meta-xilinx now inherits devicetree, which defines the do_compile step as a python function, this bbappend needs to comply with this.
Signed-off-by: Jean-Francois Dagenais <[email protected]> --- recipes-bsp/device-tree/device-tree.bbappend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-bsp/device-tree/device-tree.bbappend b/recipes-bsp/device-tree/device-tree.bbappend index e077955..9589aac 100644 --- a/recipes-bsp/device-tree/device-tree.bbappend +++ b/recipes-bsp/device-tree/device-tree.bbappend @@ -69,7 +69,7 @@ do_compile_prepend_kc705-microblazeel() { } do_compile_prepend() { - [ -e ${DTS_FILES_PATH}/system.dts ] && rm ${DTS_FILES_PATH}/system.dts + bb.utils.remove(d.getVar('DTS_FILES_PATH') + '/system.dts') } DTB_BASE_NAME ?= "${MACHINE}-system-${DATETIME}" -- 2.11.0 -- _______________________________________________ meta-xilinx mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-xilinx
