diff options
author | Andreas Oberritter <obi@opendreambox.org> | 2016-12-01 00:36:48 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-12-08 10:26:12 +0000 |
commit | aa189f183e10588f7e8d642f351bd9b8d69f3ea9 (patch) | |
tree | 8a4cf0c7f89eeb7bbd9ea100fb03c879c98e01df | |
parent | 7dbdb4ea91aa027866da2bd46c65fe65a25c848f (diff) | |
download | openembedded-core-aa189f183e10588f7e8d642f351bd9b8d69f3ea9.tar.gz openembedded-core-aa189f183e10588f7e8d642f351bd9b8d69f3ea9.tar.bz2 openembedded-core-aa189f183e10588f7e8d642f351bd9b8d69f3ea9.zip |
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.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r-- | meta/classes/kernel.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 71d543b38e..0cc8af6fae 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass @@ -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) |