diff options
author | Andreas Oberritter <obi@opendreambox.org> | 2011-05-20 16:29:47 +0000 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-05-20 21:28:16 +0200 |
commit | 2a4ffb47b04926ca43ccbab33364101f6459433a (patch) | |
tree | ba2a23dfa49a6d9b1669516b03e71df60a9e44b1 /meta-oe/classes | |
parent | 5d96769da5d7acdd700f6f1a45f417e840e5a7d8 (diff) | |
download | meta-openembedded-2a4ffb47b04926ca43ccbab33364101f6459433a.tar.gz |
kernel.bbclass: pass KERNEL_VERSION through legitimize_package_name
- KERNEL_VERSION may contain characters unsuitable for package
names, e.g. underscores. Use legitimize_package_name to replace
those characters.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/classes')
-rw-r--r-- | meta-oe/classes/kernel.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/classes/kernel.bbclass b/meta-oe/classes/kernel.bbclass index e1e8197cb..7498c2cde 100644 --- a/meta-oe/classes/kernel.bbclass +++ b/meta-oe/classes/kernel.bbclass | |||
@@ -238,8 +238,8 @@ RDEPENDS_kernel = "kernel-base" | |||
238 | # Allow machines to override this dependency if kernel image files are | 238 | # Allow machines to override this dependency if kernel image files are |
239 | # not wanted in images as standard | 239 | # not wanted in images as standard |
240 | RDEPENDS_kernel-base ?= "kernel-image" | 240 | RDEPENDS_kernel-base ?= "kernel-image" |
241 | PKG_kernel-image = "kernel-image-${KERNEL_VERSION}" | 241 | PKG_kernel-image = "kernel-image-${@legitimize_package_name('${KERNEL_VERSION}')}" |
242 | PKG_kernel-base = "kernel-${KERNEL_VERSION}" | 242 | PKG_kernel-base = "kernel-${@legitimize_package_name('${KERNEL_VERSION}')}" |
243 | ALLOW_EMPTY_kernel = "1" | 243 | ALLOW_EMPTY_kernel = "1" |
244 | ALLOW_EMPTY_kernel-base = "1" | 244 | ALLOW_EMPTY_kernel-base = "1" |
245 | ALLOW_EMPTY_kernel-image = "1" | 245 | ALLOW_EMPTY_kernel-image = "1" |