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

index 574eea6..8e9c8f4 100644 (file)
@@ -1,4 +1,4 @@
-RDEPENDS_${PN} += "kernel (= ${KERNEL_VERSION}) update-modules"
+RDEPENDS_${PN} += "kernel-${KERNEL_VERSION} update-modules"
 DEPENDS += "virtual/kernel"
 
 inherit module-base