wlan-ng-modules RPROVIDES clean up
The change is to rename wlan-ng-modules-p80211 to wlan-ng-modules (a.k.a ${PN}) to avoid the RPROVIDES embarrassment. Tested working fine on tosa images which needs wlan-ng-modules-usb.
I didn't find any other recipe depend on wlan-ng-modules-p80211 in oe, however I'm not sure if there is any objection to the change.
Regards
Gordon
#
# old_revision [f7df80732af56b59315ef203e69f092313ec2ddd] # # patch "packages/wlan-ng/wlan-ng-modules.inc" # from [9474ac9b757e9c7ae8e85ce133a8f7d2357d7522] # to [cb2b1d64b9860bb9e6c5fce3801b97cb1376780d] # ============================================================ --- packages/wlan-ng/wlan-ng-modules.inc 9474ac9b757e9c7ae8e85ce133a8f7d2357d7522 +++ packages/wlan-ng/wlan-ng-modules.inc cb2b1d64b9860bb9e6c5fce3801b97cb1376780d @@ -1,9 +1,8 @@ RRECOMMENDS = "wlan-ng-utils" DESCRIPTION = "linux-wlan-ng (prism2.x, prism3, pcmcia, pci, usb) driver for 11Mbps wireless lan cards" HOMEPAGE = "http://www.linux-wlan.org" SECTION = "kernel/modules" DEPENDS = "virtual/kernel" RRECOMMENDS = "wlan-ng-utils" -RPROVIDES += "wlan-ng-modules-usb wlan-ng-modules" LICENSE = "GPL"
SRC_URI = "file://no-compat.patch;patch=1 \
@@ -57,13 +56,13 @@ do_install() {
rm -f ${KERNEL_SOURCE}/../../config.mk
}-PACKAGES = "${PN}-dbg wlan-ng-modules-usb wlan-ng-modules-cs wlan-ng-modules-pci wlan-ng-modules-p80211" -FILES_wlan-ng-modules-p80211 = "/lib/modules/${KERNEL_VERSION}/wlan-ng/p80211${KERNEL_OBJECT_SUFFIX}" +PACKAGES = "${PN}-dbg wlan-ng-modules-usb wlan-ng-modules-cs wlan-ng-modules-pci wlan-ng-modules" +FILES_wlan-ng-modules = "/lib/modules/${KERNEL_VERSION}/wlan-ng/p80211${KERNEL_OBJECT_SUFFIX}" FILES_wlan-ng-modules-usb = "/lib/modules/${KERNEL_VERSION}/wlan-ng/prism2_usb${KERNEL_OBJECT_SUFFIX}" FILES_wlan-ng-modules-cs = "/lib/modules/${KERNEL_VERSION}/wlan-ng/prism2_cs${KERNEL_OBJECT_SUFFIX}"
FILES_wlan-ng-modules-pci = "/lib/modules/${KERNEL_VERSION}/wlan-ng/prism2_pci${KERNEL_OBJECT_SUFFIX} \
/lib/modules/${KERNEL_VERSION}/wlan-ng/prism2_plx${KERNEL_OBJECT_SUFFIX}"+RDEPENDS_wlan-ng-modules = "wlan-ng-utils" +RDEPENDS_wlan-ng-modules-usb = "wlan-ng-modules" +RDEPENDS_wlan-ng-modules-cs = "wlan-ng-modules" +RDEPENDS_wlan-ng-modules-pci = "wlan-ng-modules" -RDEPENDS_wlan-ng-modules-p80211 = "wlan-ng-utils" -RDEPENDS_wlan-ng-modules-usb = "wlan-ng-modules-p80211" -RDEPENDS_wlan-ng-modules-cs = "wlan-ng-modules-p80211" -RDEPENDS_wlan-ng-modules-pci = "wlan-ng-modules-p80211"