From: Imre Kaloz Date: Sun, 27 Aug 2006 13:32:10 +0000 (+0000) Subject: introduce USB_SUPPORT, clean up some dependencies X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9e9a0a4ca0bb423d0b8fc433140fda3dbebcb0f4;p=openwrt%2Fstaging%2Fnbd.git introduce USB_SUPPORT, clean up some dependencies SVN-Revision: 4690 --- diff --git a/openwrt/target/Config.in b/openwrt/target/Config.in index 2d3009112c..fc35a9acc0 100644 --- a/openwrt/target/Config.in +++ b/openwrt/target/Config.in @@ -7,6 +7,7 @@ config LINUX_2_6_AU1000 select mipsel select LINUX_2_6 select PCI_SUPPORT + select USB_SUPPORT help Build firmware for AMD Alchemy 1500 boards (e.g. 4G-Systems Mesh/Access Cube ...) @@ -16,6 +17,7 @@ config LINUX_2_6_ARUBA select mips select LINUX_2_6 select PCI_SUPPORT + select USB_SUPPORT select BIG_ENDIAN help Build firmware images for Aruba boards @@ -34,6 +36,7 @@ config LINUX_2_4_BRCM bool "Broadcom BCM47xx/53xx [2.4]" select mipsel select PCI_SUPPORT + select USB_SUPPORT select PCMCIA_SUPPORT help Build firmware images for Broadcom based routers @@ -48,6 +51,7 @@ config LINUX_2_6_BRCM select mipsel select LINUX_2_6 select PCI_SUPPORT + select USB_SUPPORT #select PCMCIA_SUPPORT help Build firmware images for Broadcom based routers @@ -59,6 +63,7 @@ config LINUX_2_6_BRCM63XX select mips select LINUX_2_6 select PCI_SUPPORT + select USB_SUPPORT select PCMCIA_SUPPORT help Build firmware images for Broadcom based xDSL/routers @@ -70,6 +75,7 @@ config LINUX_2_6_XSCALE select LINUX_2_6 select BIG_ENDIAN select PCI_SUPPORT + select USB_SUPPORT config LINUX_2_6_MAGICBOX bool "Magicbox [2.6]" @@ -95,6 +101,8 @@ config LINUX_2_4_X86 bool "x86 [2.4]" select i386 select LINUX_2_4 + select PCI_SUPPORT + select USB_SUPPORT select PCMCIA_SUPPORT help Build firmware images for x86 based boards @@ -104,6 +112,8 @@ config LINUX_2_6_X86 bool "x86 [2.6]" select i386 select LINUX_2_6 + select PCI_SUPPORT + select USB_SUPPORT select PCMCIA_SUPPORT help Build firmware images for x86 based boards @@ -188,6 +198,9 @@ config PCI_SUPPORT config PCMCIA_SUPPORT bool +config USB_SUPPORT + bool + config BIG_ENDIAN bool diff --git a/openwrt/target/linux/Config.in b/openwrt/target/linux/Config.in index 9b505df133..1c1361e763 100644 --- a/openwrt/target/linux/Config.in +++ b/openwrt/target/linux/Config.in @@ -328,13 +328,11 @@ config PACKAGE_KMOD_NET_PRISM54 endmenu menu "PCMCIA/CardBus support" - depends LINUX_2_4_X86 || LINUX_2_6_X86 || LINUX_2_4_BRCM || LINUX_2_6_BRCM + depends PCMCIA_SUPPORT config PACKAGE_KMOD_PCMCIA_CORE prompt "kmod-pcmcia-core.................. PCMCIA/CardBus support" - depends PCMCIA_SUPPORT tristate - depends LINUX_2_4_X86 || LINUX_2_6_X86 || LINUX_2_4_BRCM || LINUX_2_6_BRCM default m config PACKAGE_KMOD_PCMCIA_SERIAL @@ -346,11 +344,11 @@ config PACKAGE_KMOD_PCMCIA_SERIAL endmenu menu "USB support" + depends USB_SUPPORT config PACKAGE_KMOD_USB prompt "kmod-usb-core..................... USB support" tristate - default n if LINUX_2_4_AR531X default m config PACKAGE_KMOD_USB_UHCI @@ -468,8 +466,8 @@ config PACKAGE_KMOD_AX25 config PACKAGE_KMOD_BLUETOOTH prompt "kmod-bluetooth.................... Bluetooth drivers and network stack" tristate + depends PCI_SUPPORT || USB_SUPPORT default m - default n if LINUX_2_4_AR531X help Bluetooth drivers and network stack