diff options
author | Andreas Oberritter <obi@opendreambox.org> | 2011-05-20 17:29:47 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-20 17:30:30 +0100 |
commit | 8c6bf9f6775fc5aaa8bc2c77924c95a00f1c1890 (patch) | |
tree | faeae212c2b799e9f62d9db0862bfb3c572a1a32 /meta/classes/kernel.bbclass | |
parent | 3ebb3254cbe3151ea74a770347c41b4d794d9aaa (diff) | |
download | openembedded-core-8c6bf9f6775fc5aaa8bc2c77924c95a00f1c1890.tar.gz openembedded-core-8c6bf9f6775fc5aaa8bc2c77924c95a00f1c1890.tar.bz2 openembedded-core-8c6bf9f6775fc5aaa8bc2c77924c95a00f1c1890.zip |
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>
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r-- | meta/classes/kernel.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 70a782fbaf..1bb69f5136 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass @@ -214,8 +214,8 @@ RDEPENDS_kernel = "kernel-base" # Allow machines to override this dependency if kernel image files are # not wanted in images as standard RDEPENDS_kernel-base ?= "kernel-image" -PKG_kernel-image = "kernel-image-${KERNEL_VERSION}" -PKG_kernel-base = "kernel-${KERNEL_VERSION}" +PKG_kernel-image = "kernel-image-${@legitimize_package_name('${KERNEL_VERSION}')}" +PKG_kernel-base = "kernel-${@legitimize_package_name('${KERNEL_VERSION}')}" ALLOW_EMPTY_kernel = "1" ALLOW_EMPTY_kernel-base = "1" ALLOW_EMPTY_kernel-image = "1" |