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 17:21:44 +0000
commit5b0b9943f5368a17c886a42e8646f70be6e2e949 (patch)
treeee4ae19b501c8659efbcbef10642ac084add9b3f /meta/classes
parent2d74e262288683433dc60d65e166b8f874a26591 (diff)
downloadpoky-5b0b9943f5368a17c886a42e8646f70be6e2e949.tar.gz
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>
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 () {
43 typeformake = re.sub(r'\.gz', '', types) 43 typeformake = re.sub(r'\.gz', '', types)
44 d.setVar('KERNEL_IMAGETYPE_FOR_MAKE', typeformake) 44 d.setVar('KERNEL_IMAGETYPE_FOR_MAKE', typeformake)
45 45
46 for type in typeformake.split(): 46 for type in types.split():
47 typelower = type.lower() 47 typelower = type.lower()
48 48
49 d.appendVar('PACKAGES', ' ' + 'kernel-image-' + typelower) 49 d.appendVar('PACKAGES', ' ' + 'kernel-image-' + typelower)