mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-04 16:10:04 +00:00
kernel.bbclass: Use real filenames in kernel packages
When iterating over kernel image types to set up their packaging variables, don't use make targets but the real names. It was surprising if both vmlinux.bin and vmlinux.gz were enabled and only the latter had its filename extension removed from the package name. (From OE-Core rev: aa189f183e10588f7e8d642f351bd9b8d69f3ea9) (From OE-Core rev: 07e93839ee0dc25904fb93d6ae236e3ab16982ec) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
2d74e26228
commit
5b0b9943f5
|
|
@ -43,7 +43,7 @@ python __anonymous () {
|
|||
typeformake = re.sub(r'\.gz', '', types)
|
||||
d.setVar('KERNEL_IMAGETYPE_FOR_MAKE', typeformake)
|
||||
|
||||
for type in typeformake.split():
|
||||
for type in types.split():
|
||||
typelower = type.lower()
|
||||
|
||||
d.appendVar('PACKAGES', ' ' + 'kernel-image-' + typelower)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user