summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2016-12-01 00:36:48 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-11 11:46:47 +0000
commit07e93839ee0dc25904fb93d6ae236e3ab16982ec (patch)
treeb668e453fa24f137cd5baa7f83ff3f9f0b9ca879 /meta/classes
parent0d65292296ed9fb82e7bfbcca42d4b7a39ba6ca9 (diff)
downloadopenembedded-core-07e93839ee0dc25904fb93d6ae236e3ab16982ec.tar.gz
openembedded-core-07e93839ee0dc25904fb93d6ae236e3ab16982ec.tar.bz2
openembedded-core-07e93839ee0dc25904fb93d6ae236e3ab16982ec.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. (From OE-Core rev: aa189f183e10588f7e8d642f351bd9b8d69f3ea9) 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>
Diffstat (limited to 'meta/classes')
-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 4aeeacb1b9..0e7ebd44fe 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)