Browse Source

prevent madwifi from building on UML

SVN-Revision: 8855
Nicolas Thill 18 years ago
parent
commit
7ba4e5c3c0
1 changed files with 6 additions and 1 deletions
  1. 6 1
      package/madwifi/Makefile

+ 6 - 1
package/madwifi/Makefile

@@ -50,6 +50,11 @@ else
   endif
 endif
 
+# XXX: remove this check later when we have PCI support properly detected on all targets
+ifneq ($(CONFIG_TARGET_uml),)
+ BUS:=
+endif
+
 RATE_CONTROL:=minstrel
 
 MADWIFI_FILES:= \
@@ -89,7 +94,7 @@ define KernelPackage/madwifi
   SUBMENU:=Wireless Drivers
   TITLE:=Driver for Atheros wireless chipsets
   URL:=http://madwifi.org/
-  DEPENDS:=+wireless-tools @PCI_SUPPORT||TARGET_atheros @!TARGET_avr32 @!TARGET_etrax
+  DEPENDS:=+wireless-tools @PCI_SUPPORT||TARGET_atheros @!TARGET_avr32 @!TARGET_etrax @!TARGET_uml
   FILES:=$(MADWIFI_FILES)
   AUTOLOAD:=$(call AutoLoad,50,$(MADWIFI_AUTOLOAD))
 endef