prevent madwifi from building on UML
authorNicolas Thill <nico@openwrt.org>
Thu, 20 Sep 2007 07:11:52 +0000 (07:11 +0000)
committerNicolas Thill <nico@openwrt.org>
Thu, 20 Sep 2007 07:11:52 +0000 (07:11 +0000)
SVN-Revision: 8855

package/madwifi/Makefile

index 9f3d7953e3387f16d7b9e46aa981f0fb6b715262..64d076bb4e5a47989d2cc8528874fb3f454803a4 100644 (file)
@@ -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