robostix-module: depend on kernel-${KERNEL_VERSION} instead of kernel (= ${KERNEL_VER...
authorAndreas Oberritter <obi@opendreambox.org>
Sat, 29 Jan 2011 00:51:10 +0000 (00:51 +0000)
committerAndreas Oberritter <obi@opendreambox.org>
Sat, 29 Jan 2011 00:56:15 +0000 (00:56 +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/robostix-module/robostix-module.bb

index 8f5823d..859b584 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "Linux Driver for Gumstix robostix daughtercards"
 SECTION = "base"
 PRIORITY = "optional"
 LICENSE = "GPL"
-RDEPENDS_${PN} = "kernel (= ${KERNEL_VERSION})"
+RDEPENDS_${PN} = "kernel-${KERNEL_VERSION}"
 DEPENDS = "virtual/kernel"
 
 PR = "r2"