diff options
author | Laurentiu Palcu <laurentiu.palcu@intel.com> | 2014-02-18 15:49:43 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-20 14:28:10 +0000 |
commit | f866b2e4b78c91f6c10f1da723505c0c9d99e856 (patch) | |
tree | dc8b62e1475c81ed2dcf93d2fdd43053184ffa2f /meta/classes/bootimg.bbclass | |
parent | 66648268ab5803439aa282dd67982d520c491d56 (diff) | |
download | poky-f866b2e4b78c91f6c10f1da723505c0c9d99e856.tar.gz |
image*.bbclass, bootimg.bbclass: add image type dependencies
The following dependencies were manually added in the image creation
code. However, in order to have an image dependency mechanism in place,
use a new variable, IMAGE_TYPEDEP, to declare that an image type depends
on another being already created.
The following dependencies are added by this commit:
elf -> cpio.gz
live -> ext3
vmdk -> ext3
iso -> ext3
hddimg -> ext3
This commit adds also another new variable: IMAGE_TYPES_MASKED. Currently,
masking out certain types from IMAGE_FSTYPES was hardcoded in the image
creation code.
[YOCTO #5830]
(From OE-Core rev: 5e2796aa28e02ae3a076c6593c6533753720b13d)
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/bootimg.bbclass')
-rw-r--r-- | meta/classes/bootimg.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass index 395085d0ab..c370bd6a10 100644 --- a/meta/classes/bootimg.bbclass +++ b/meta/classes/bootimg.bbclass | |||
@@ -232,4 +232,8 @@ python do_bootimg() { | |||
232 | bb.build.exec_func('build_iso', d) | 232 | bb.build.exec_func('build_iso', d) |
233 | } | 233 | } |
234 | 234 | ||
235 | IMAGE_TYPEDEP_iso = "ext3" | ||
236 | IMAGE_TYPEDEP_hddimg = "ext3" | ||
237 | IMAGE_TYPES_MASKED += "iso hddimg" | ||
238 | |||
235 | addtask bootimg before do_build | 239 | addtask bootimg before do_build |