madwifi: 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:58 +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/madwifi/madwifi-modules_0.9.3.bb
recipes/madwifi/madwifi-modules_cvs-bsd.bb
recipes/madwifi/madwifi-modules_cvs.bb
recipes/madwifi/madwifi-ng_r.inc

index efb27f1..c9761d3 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "Linux driver for 802.11a/b/g universal NIC cards using Atheros ch
 SECTION = "base"
 PRIORITY = "optional"
 LICENSE = "GPL"
-RDEPENDS_${PN} = "kernel (= ${KERNEL_VERSION}) wireless-tools (>= 27)"
+RDEPENDS_${PN} = "kernel-${KERNEL_VERSION} wireless-tools (>= 27)"
 DEPENDS = "virtual/kernel"
 CONFLICTS = "hostap-daemon (<0.4.8)"
 SRCDATE = "20050803"
index c60bfe9..74dc6f1 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "Linux driver for 802.11a/b/g universal NIC cards using Atheros ch
 SECTION = "base"
 PRIORITY = "optional"
 LICENSE = "GPL"
-RDEPENDS_${PN} = "kernel (= ${KERNEL_VERSION})"
+RDEPENDS_${PN} = "kernel-${KERNEL_VERSION}"
 DEPENDS = "virtual/kernel"
 PV = "1.0.0+cvs${SRCDATE}-bsd"
 DEFAULT_PREFERENCE = "-1"
index 82e9b9a..929daf4 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "Linux driver for 802.11a/b/g universal NIC cards using Atheros ch
 SECTION = "base"
 PRIORITY = "optional"
 LICENSE = "GPL"
-RDEPENDS_${PN} = "kernel (= ${KERNEL_VERSION})"
+RDEPENDS_${PN} = "kernel-${KERNEL_VERSION}"
 DEPENDS = "virtual/kernel"
 SRCDATE = "20060814"
 PV = "1.0.0+cvs${SRCDATE}"
index 4b79130..53d0ed1 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "Linux driver for 802.11a/b/g universal NIC cards using Atheros ch
 SECTION = "base"
 PRIORITY = "optional"
 LICENSE = "GPL"
-RDEPENDS_${PN} = "kernel (= ${KERNEL_VERSION})"
+RDEPENDS_${PN} = "kernel-${KERNEL_VERSION}"
 DEPENDS = "virtual/kernel"
 INC_PR = "r7"