Browse Source

disable package that can't build on atheros target (no pci/usb)

SVN-Revision: 8823
Nicolas Thill 18 years ago
parent
commit
0d56d48d9a
2 changed files with 6 additions and 2 deletions
  1. 4 1
      package/kernel/modules/other.mk
  2. 2 1
      package/rt2x00/Makefile

+ 4 - 1
package/kernel/modules/other.mk

@@ -92,9 +92,11 @@ endef
 $(eval $(call KernelPackage,lp))
 
 
+# XXX: remove @!TARGET_* later when we have PCI & USB support properly detected on all targets
 define KernelPackage/soundcore
   SUBMENU:=$(OTHER_MENU)
   TITLE:=Sound support
+  DEPENDS:=@PCI_SUPPORT||USB_SUPPORT @!TARGET_atheros
   KCONFIG:= \
 	CONFIG_SOUND \
 	CONFIG_SND \
@@ -238,10 +240,11 @@ endef
 $(eval $(call KernelPackage,pcmcia-serial))
 
 
+# XXX: remove @!TARGET_* later when we have USB support properly detected on all targets
 define KernelPackage/bluetooth
   SUBMENU:=$(OTHER_MENU)
   TITLE:=Bluetooth support
-  DEPENDS:=@USB_SUPPORT
+  DEPENDS:=@USB_SUPPORT @!TARGET_atheros
   KCONFIG:= \
 	CONFIG_BLUEZ \
 	CONFIG_BLUEZ_L2CAP \

+ 2 - 1
package/rt2x00/Makefile

@@ -25,10 +25,11 @@ ifeq ($(DUMP),)
   include $(LINUX_DIR)/.config
 endif
 
+# XXX: remove @!TARGET_* later when we have PCI & USB support properly detected on all targets
 define KernelPackage/rt2x00/Default
   SUBMENU:=Wireless Drivers
   TITLE:=Ralink Drivers for RT2x00 cards
-  DEPENDS:=@LINUX_2_6
+  DEPENDS:=@LINUX_2_6 @!TARGET_atheros
   KCONFIG:=CONFIG_MAC80211
 endef