wifistix: depend on kernel-${KERNEL_VERSION} instead of kernel (= ${KERNEL_VERSION})
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:20 +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/wifistix/wifistix-modules_5.0.16.p0.bb

index d69ea75..512f291 100644 (file)
@@ -6,7 +6,7 @@ SECTION = "base"
 PRIORITY = "optional"
 HOMEPAGE = "http://www.gumstix.com"
 LICENSE = "GPL"
-RDEPENDS_${PN} = "kernel (= ${KERNEL_VERSION})"
+RDEPENDS_${PN} = "kernel-${KERNEL_VERSION}"
 DEPENDS = "virtual/kernel"
 PR = "r1"