From e022e00e66673af9fbfc3755bcdb9cd8dc9567e2 Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Wed, 21 Dec 2016 07:13:45 +0000 Subject: [PATCH] cmem.inc: only mangle SRC_URI in do_unpack instead of anon function Avoid taskhash mismatch errors. Signed-off-by: Denys Dmytriyenko --- recipes-kernel/linux/cmem.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes-kernel/linux/cmem.inc b/recipes-kernel/linux/cmem.inc index 4541185c..a61b8996 100644 --- a/recipes-kernel/linux/cmem.inc +++ b/recipes-kernel/linux/cmem.inc @@ -27,7 +27,7 @@ CMEM_DEVICETREE_dra74x = "dra7-evm.dtb dra7-evm-lcd-lg.dtb dra7-evm-lcd-osd.dtb RESERVE_CMEM ?= "0" # Add correct cmem.dtsi to SRC_URI for each variant for a given machine -python() { +python do_unpack() { old_overrides = d.getVar('OVERRIDES', False) # Initialize with empty string to simplify logic to append to SRC_URI @@ -42,6 +42,7 @@ python() { cmem_dtsi.add(localdata.getVar('CMEM_DTSI', True)) d.appendVar('SRC_URI', ' file://'.join(cmem_dtsi)) + bb.build.exec_func('base_do_unpack', d) } python do_setup_cmem() {