From: Andreas Oberritter Date: Sat, 29 Jan 2011 00:51:08 +0000 (+0000) Subject: gpio-event: depend on kernel-${KERNEL_VERSION} instead of kernel (= ${KERNEL_VERSION}) X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87bec1fa95a6df0147d32666c8b3fccff6239369;p=openembedded.git gpio-event: 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 --- diff --git a/recipes/gpio-event/gpio-event.bb b/recipes/gpio-event/gpio-event.bb index 523337128c..81ea55ac2a 100644 --- a/recipes/gpio-event/gpio-event.bb +++ b/recipes/gpio-event/gpio-event.bb @@ -5,7 +5,7 @@ DESCRIPTION = "gpio-event driver and userspace program" PRIORITY = "optional" SECTION = "base" LICENSE = "GPL" -RDEPENDS_${PN} = "kernel (= ${KERNEL_VERSION})" +RDEPENDS_${PN} = "kernel-${KERNEL_VERSION}" DEPENDS = "virtual/kernel" PR = "r5"