From: Pavel Roskin Date: Wed, 10 Mar 2010 03:54:08 +0000 (-0500) Subject: compat-wireless: disable rt2800 if crc_ccitt is not available X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2fe8e79a78a01c93b2412ab02d3b993222df65e4;p=openwrt%2Fstaging%2Fblogic.git compat-wireless: disable rt2800 if crc_ccitt is not available Signed-off-by: Pavel Roskin --- diff --git a/config.mk b/config.mk index 5565e12e3402..e5be3fd4d04d 100644 --- a/config.mk +++ b/config.mk @@ -281,8 +281,10 @@ CONFIG_ADM8211=m CONFIG_RT2X00_LIB_PCI=m CONFIG_RT2400PCI=m CONFIG_RT2500PCI=m +ifneq ($(CONFIG_CRC_CCITT),) CONFIG_RT2800PCI=m CONFIG_RT2800PCI_PCI=y +endif NEED_RT2X00=y # Two rt2x00 drivers require firmware: rt61pci and rt73usb. They depend on @@ -358,7 +360,9 @@ endif # RT2500USB does not require firmware CONFIG_RT2500USB=m +ifneq ($(CONFIG_CRC_CCITT),) CONFIG_RT2800USB=m +endif CONFIG_RT2X00_LIB_USB=m NEED_RT2X00=y # RT73USB requires firmware