gpio-event: depend on kernel-${KERNEL_VERSION} instead of kernel (= ${KERNEL_VERSION})
authorAndreas Oberritter <obi@opendreambox.org>
Sat, 29 Jan 2011 00:51:08 +0000 (00:51 +0000)
committerAndreas Oberritter <obi@opendreambox.org>
Sat, 29 Jan 2011 00:55:45 +0000 (00:55 +0000)
* 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>
recipes/gpio-event/gpio-event.bb

index 5233371..81ea55a 100644 (file)
@@ -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"