summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2016-12-01 00:36:48 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-12-08 10:26:12 +0000
commitaa189f183e10588f7e8d642f351bd9b8d69f3ea9 (patch)
tree8a4cf0c7f89eeb7bbd9ea100fb03c879c98e01df /meta
parent7dbdb4ea91aa027866da2bd46c65fe65a25c848f (diff)
downloadopenembedded-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>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/kernel.bbclass2
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)