From bb9c5ecf26a93fc4d42858e09a805dcf4547c32c Mon Sep 17 00:00:00 2001
From: kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Sun, 27 Aug 2006 13:32:10 +0000
Subject: introduce USB_SUPPORT, clean up some dependencies

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4690 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 target/linux/Config.in | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

(limited to 'target/linux')

diff --git a/target/linux/Config.in b/target/linux/Config.in
index 9b505df13..1c1361e76 100644
--- a/target/linux/Config.in
+++ b/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
 
-- 
cgit v1.2.3