]> code.ossystems Code Review - openembedded-core.git/commit
image.bbclass: inherit image_types_uboot when needed
authorRobert Yang <liezhi.yang@windriver.com>
Mon, 5 Dec 2016 14:54:40 +0000 (06:54 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 8 Dec 2016 10:26:13 +0000 (10:26 +0000)
commit742a22ab7fd333e99d8701220d5a1db28347b1af
tree1d79c6882e5ee72f63891892774e25584ace0470
parent5210ccd61ef52a191454a4587cfeb22079df746d
image.bbclass: inherit image_types_uboot when needed

Fixed:
MACHINE = "qemuarm"
IMAGE_FSTYPES += "ext3.bz2.u-boot"
[snip]
No IMAGE_CMD defined for IMAGE_FSTYPES entry 'ext3.bz2.u-boot' - possibly invalid type name or missing support class
[snip]

This is because image_types_uboot is not inherited, inherit it when
needed will fix the problem.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/image.bbclass