[oe-commits] Andreas Oberritter : madwifi: depend on kernel-${KERNEL_VERSION} instead of kernel (= ${KERNEL_VERSION})

git version control git at git.openembedded.org
Sat Jan 29 00:59:03 UTC 2011


Module: openembedded.git
Branch: master
Commit: e1babf9db73af4c4e30515caf14060b92df0b737
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=e1babf9db73af4c4e30515caf14060b92df0b737

Author: Andreas Oberritter <obi at opendreambox.org>
Date:   Sat Jan 29 00:51:08 2011 +0000

madwifi: depend on kernel-${KERNEL_VERSION} instead of kernel (= ${KERNEL_VERSION})

* 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 at opendreambox.org>

---

 recipes/madwifi/madwifi-modules_0.9.3.bb   |    2 +-
 recipes/madwifi/madwifi-modules_cvs-bsd.bb |    2 +-
 recipes/madwifi/madwifi-modules_cvs.bb     |    2 +-
 recipes/madwifi/madwifi-ng_r.inc           |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/recipes/madwifi/madwifi-modules_0.9.3.bb b/recipes/madwifi/madwifi-modules_0.9.3.bb
index efb27f1..c9761d3 100644
--- a/recipes/madwifi/madwifi-modules_0.9.3.bb
+++ b/recipes/madwifi/madwifi-modules_0.9.3.bb
@@ -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"
diff --git a/recipes/madwifi/madwifi-modules_cvs-bsd.bb b/recipes/madwifi/madwifi-modules_cvs-bsd.bb
index c60bfe9..74dc6f1 100644
--- a/recipes/madwifi/madwifi-modules_cvs-bsd.bb
+++ b/recipes/madwifi/madwifi-modules_cvs-bsd.bb
@@ -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"
diff --git a/recipes/madwifi/madwifi-modules_cvs.bb b/recipes/madwifi/madwifi-modules_cvs.bb
index 82e9b9a..929daf4 100644
--- a/recipes/madwifi/madwifi-modules_cvs.bb
+++ b/recipes/madwifi/madwifi-modules_cvs.bb
@@ -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}"
diff --git a/recipes/madwifi/madwifi-ng_r.inc b/recipes/madwifi/madwifi-ng_r.inc
index 4b79130..53d0ed1 100644
--- a/recipes/madwifi/madwifi-ng_r.inc
+++ b/recipes/madwifi/madwifi-ng_r.inc
@@ -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"
 





More information about the Openembedded-commits mailing list