diff options
author | Chunrong Guo <chunrong.guo@nxp.com> | 2017-12-04 18:02:11 +0800 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2017-12-12 09:55:06 -0200 |
commit | 0f69a2a87cb066c3303197f22d7579840612c557 (patch) | |
tree | adb61e908c5e1074ff2dc40c0ed60863336f03a0 /classes/kernel-itbimage.bbclass | |
parent | a3bc34889b259541bc9eb5734f9bb7d19179cb61 (diff) | |
download | meta-freescale-0f69a2a87cb066c3303197f22d7579840612c557.tar.gz |
kernel-itbimage: depends extraimage task to fix EXTRA_IMAGEDEPEND license issue
*Fix the build error:
|[Errno 2] No such file or directory: '.../licenses/ppa/recipeinfo'
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'classes/kernel-itbimage.bbclass')
-rw-r--r-- | classes/kernel-itbimage.bbclass | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/classes/kernel-itbimage.bbclass b/classes/kernel-itbimage.bbclass index bb838ef1..448e2a6c 100644 --- a/classes/kernel-itbimage.bbclass +++ b/classes/kernel-itbimage.bbclass | |||
@@ -22,6 +22,14 @@ python __anonymous () { | |||
22 | image = d.getVar('INITRAMFS_IMAGE') | 22 | image = d.getVar('INITRAMFS_IMAGE') |
23 | if image: | 23 | if image: |
24 | d.appendVarFlag('do_assemble_fitimage_initramfs', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete') | 24 | d.appendVarFlag('do_assemble_fitimage_initramfs', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete') |
25 | def extraimage_getdepends(task): | ||
26 | deps = "" | ||
27 | for dep in (d.getVar('EXTRA_IMAGEDEPENDS') or "").split(): | ||
28 | deps += " %s:%s" % (dep, task) | ||
29 | return deps | ||
30 | |||
31 | d.appendVarFlag('do_image', 'depends', extraimage_getdepends('do_populate_lic')) | ||
32 | d.appendVarFlag('do_image_complete', 'depends', extraimage_getdepends('do_populate_sysroot')) | ||
25 | 33 | ||
26 | # Verified boot will sign the fitImage and append the public key to | 34 | # Verified boot will sign the fitImage and append the public key to |
27 | # U-Boot dtb. We ensure the U-Boot dtb is deployed before assembling | 35 | # U-Boot dtb. We ensure the U-Boot dtb is deployed before assembling |