From 0615b9d83a678b677e0e9cd2e9e266ce28df1391 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 7 Nov 2013 20:59:22 +0000 Subject: [PATCH] mac80211: mark rt2x00 library packages as hidden, there's no point in allowing users to enable them without the packages that depend on them Signed-off-by: Felix Fietkau SVN-Revision: 38684 --- package/kernel/mac80211/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile index 9b056efe31..ae04ddeebe 100644 --- a/package/kernel/mac80211/Makefile +++ b/package/kernel/mac80211/Makefile @@ -240,6 +240,7 @@ endef define KernelPackage/rt2x00-mmio $(call KernelPackage/rt2x00/Default) DEPENDS+= @(PCI_SUPPORT||TARGET_ramips) +kmod-rt2x00-lib +kmod-eeprom-93cx6 + HIDDEN:=1 TITLE+= (MMIO) FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2x00mmio.ko endef @@ -247,6 +248,7 @@ endef define KernelPackage/rt2x00-pci $(call KernelPackage/rt2x00/Default) DEPENDS+= @PCI_SUPPORT +kmod-rt2x00-mmio +kmod-rt2x00-lib + HIDDEN:=1 TITLE+= (PCI) FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2x00pci.ko AUTOLOAD:=$(call AutoProbe,rt2x00pci) @@ -255,6 +257,7 @@ endef define KernelPackage/rt2x00-usb $(call KernelPackage/rt2x00/Default) DEPENDS+= @USB_SUPPORT +kmod-rt2x00-lib +kmod-usb-core + HIDDEN:=1 TITLE+= (USB) FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2x00usb.ko AUTOLOAD:=$(call AutoProbe,rt2x00usb) @@ -263,6 +266,7 @@ endef define KernelPackage/rt2x00-soc $(call KernelPackage/rt2x00/Default) DEPENDS+=@TARGET_ramips_rt305x +kmod-rt2x00-mmio +kmod-rt2x00-lib + HIDDEN:=1 TITLE+= (SoC) FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2x00soc.ko AUTOLOAD:=$(call AutoProbe,rt2x00soc) @@ -271,6 +275,7 @@ endef define KernelPackage/rt2800-lib $(call KernelPackage/rt2x00/Default) DEPENDS+= @(PCI_SUPPORT||USB_SUPPORT||TARGET_ramips) +kmod-rt2x00-lib +kmod-lib-crc-ccitt +@DRIVER_11N_SUPPORT + HIDDEN:=1 TITLE+= (rt2800 LIB) FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2800lib.ko endef -- 2.30.2