Denys Dmytriyenko : cmem.inc: only mangle SRC_URI in do_unpack instead of anon function
Module: meta-ti Branch: morty Commit: 3c2c9c0ffada179effe4e930f4f02ae60deefdae URL: http://arago-project.org/git/meta-ti.git?a=commit;h=3c2c9c0ffada179effe4e930f4f02ae60deefdae
Author: Denys Dmytriyenko <[email protected]> Date: Wed Dec 21 07:13:45 2016 +0000
cmem.inc: only mangle SRC_URI in do_unpack instead of anon function
Avoid taskhash mismatch errors.
Signed-off-by Denys Dmytriyenko <[email protected]>
---
recipes-kernel/linux/cmem.inc | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
recipes-kernel/linux/cmem.inc +2 -1
@@ -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() {