summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel.bbclass
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2011-05-20 17:29:47 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-20 17:30:49 +0100
commit4f5209ce31f1cc7fc0c97453b5247640c07e7f31 (patch)
tree72553a54d1f7e7c7c986df95c504ad6cfa009a45 /meta/classes/kernel.bbclass
parent2f4c803427c5c95161105f4eea0d78a7431c9bdc (diff)
downloadpoky-4f5209ce31f1cc7fc0c97453b5247640c07e7f31.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. (From OE-Core rev: 8c6bf9f6775fc5aaa8bc2c77924c95a00f1c1890) 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.bbclass4
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"
214# Allow machines to override this dependency if kernel image files are 214# Allow machines to override this dependency if kernel image files are
215# not wanted in images as standard 215# not wanted in images as standard
216RDEPENDS_kernel-base ?= "kernel-image" 216RDEPENDS_kernel-base ?= "kernel-image"
217PKG_kernel-image = "kernel-image-${KERNEL_VERSION}" 217PKG_kernel-image = "kernel-image-${@legitimize_package_name('${KERNEL_VERSION}')}"
218PKG_kernel-base = "kernel-${KERNEL_VERSION}" 218PKG_kernel-base = "kernel-${@legitimize_package_name('${KERNEL_VERSION}')}"
219ALLOW_EMPTY_kernel = "1" 219ALLOW_EMPTY_kernel = "1"
220ALLOW_EMPTY_kernel-base = "1" 220ALLOW_EMPTY_kernel-base = "1"
221ALLOW_EMPTY_kernel-image = "1" 221ALLOW_EMPTY_kernel-image = "1"