mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
fitimage.bbclass: let image type default to 'kernel'
When no type is set, we simply pick 'kernel' as the default since it is still the most common to be used for FIT images. Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
This commit is contained in:
parent
71e6160da0
commit
62eba951c7
|
|
@ -388,7 +388,7 @@ python write_manifest() {
|
|||
|
||||
for image in (images or "").split():
|
||||
imageflags = d.getVarFlags('FITIMAGE_IMAGE_%s' % image, expand=['file', 'fstype', 'type', 'comp']) or {}
|
||||
imgtype = imageflags.get('type', '')
|
||||
imgtype = imageflags.get('type', 'kernel')
|
||||
if imgtype == 'kernel':
|
||||
default = "%s-%s%s" % (d.getVar('KERNEL_IMAGETYPE'), machine, d.getVar('KERNEL_IMAGE_BIN_EXT'))
|
||||
imgsource = imageflags.get('file', default)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user