[meta-ti] [PATCH] cmem.inc: only mangle SRC_URI in do_unpack instead of anon function

Denys Dmytriyenko denis at denix.org
Tue Dec 20 17:13:45 PST 2016


From: Denys Dmytriyenko <denys at ti.com>

Avoid taskhash mismatch errors.

Signed-off-by: Denys Dmytriyenko <denys at ti.com>
---
 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 4541185..a61b899 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() {
-- 
2.7.4



More information about the meta-ti mailing list