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:31:29 +0000 |
commit | 4cf1310051df6f2649510e4bb8dcae8b52b692a0 (patch) | |
tree | 1308b0132b6afe068a84937abbf174bbe28b96f4 | |
parent | 68b2a6320a294867df802256ff8de95afe053902 (diff) | |
download | poky-4cf1310051df6f2649510e4bb8dcae8b52b692a0.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)
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>
-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 () { | |||
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) |