aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/char-driver
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2011-01-29 00:51:07 +0000
committerAndreas Oberritter <obi@opendreambox.org>2011-01-29 00:52:05 +0000
commit549324bfa5157efde35a0bba6de6fef9f9a44c00 (patch)
treec0f29f6f390e9d6ab3ba15973a0b0a1990a969d0 /recipes/char-driver
parent254193c8f65511a8f344559f7714b50d35afb22b (diff)
downloadopenembedded-549324bfa5157efde35a0bba6de6fef9f9a44c00.tar.gz
char-driver: depend on kernel-${KERNEL_VERSION} instead of kernel (= ${KERNEL_VERSION})
* As a special case, kernel modules must depend on kernel-${KERNEL_VERSION}, which gets runtime provided by the kernel package. The reason is, that the package version can be different from ${KERNEL_VERSION}, because the latter depends on the kernel configuration, e.g. CONFIG_LOCALVERSION. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Diffstat (limited to 'recipes/char-driver')
-rw-r--r--recipes/char-driver/char-driver.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/char-driver/char-driver.bb b/recipes/char-driver/char-driver.bb
index 5daf3564cd..2d7993a343 100644
--- a/recipes/char-driver/char-driver.bb
+++ b/recipes/char-driver/char-driver.bb
@@ -5,7 +5,7 @@ DESCRIPTION = "char-driver and userspace program"
PRIORITY = "optional"
SECTION = "base"
LICENSE = "GPL"
-RDEPENDS_${PN} = "kernel (= ${KERNEL_VERSION})"
+RDEPENDS_${PN} = "kernel-${KERNEL_VERSION}"
DEPENDS = "virtual/kernel"
PR = "r4"