diff options
author | Denys Dmytriyenko <denys@ti.com> | 2016-12-21 07:13:45 +0000 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2016-12-21 13:23:52 -0500 |
commit | 3c2c9c0ffada179effe4e930f4f02ae60deefdae (patch) | |
tree | 7524188f7a983610dda8326acaaff7cdc79287eb | |
parent | 354b342d8e45914bf4d4c50a4d6a5c777cdfdadb (diff) | |
download | meta-ti-3c2c9c0ffada179effe4e930f4f02ae60deefdae.tar.gz |
cmem.inc: only mangle SRC_URI in do_unpack instead of anon function
Avoid taskhash mismatch errors.
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
-rw-r--r-- | recipes-kernel/linux/cmem.inc | 3 |
1 files changed, 2 insertions, 1 deletions
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 | |||
27 | RESERVE_CMEM ?= "0" | 27 | RESERVE_CMEM ?= "0" |
28 | 28 | ||
29 | # Add correct cmem.dtsi to SRC_URI for each variant for a given machine | 29 | # Add correct cmem.dtsi to SRC_URI for each variant for a given machine |
30 | python() { | 30 | python do_unpack() { |
31 | old_overrides = d.getVar('OVERRIDES', False) | 31 | old_overrides = d.getVar('OVERRIDES', False) |
32 | 32 | ||
33 | # Initialize with empty string to simplify logic to append to SRC_URI | 33 | # Initialize with empty string to simplify logic to append to SRC_URI |
@@ -42,6 +42,7 @@ python() { | |||
42 | cmem_dtsi.add(localdata.getVar('CMEM_DTSI', True)) | 42 | cmem_dtsi.add(localdata.getVar('CMEM_DTSI', True)) |
43 | 43 | ||
44 | d.appendVar('SRC_URI', ' file://'.join(cmem_dtsi)) | 44 | d.appendVar('SRC_URI', ' file://'.join(cmem_dtsi)) |
45 | bb.build.exec_func('base_do_unpack', d) | ||
45 | } | 46 | } |
46 | 47 | ||
47 | python do_setup_cmem() { | 48 | python do_setup_cmem() { |