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

index 678bfec..5d21364 100644 (file)
@@ -3,7 +3,7 @@ SECTION = "base"
 PRIORITY = "optional"
 HOMEPAGE = "http://prism54.org"
 LICENSE = "GPL"
-RDEPENDS_${PN} = "kernel (= ${KERNEL_VERSION}) prism54-firmware (= 1.0.3.0) hotplug"
+RDEPENDS_${PN} = "kernel-${KERNEL_VERSION} prism54-firmware (= 1.0.3.0) hotplug"
 RRECOMMENDS_${PN} = "kernel-module-firmware-class"
 DEPENDS = "virtual/kernel prism54-firmware"
 PR = "r2"