aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2007-09-20 07:11:52 +0000
committerNicolas Thill <nico@openwrt.org>2007-09-20 07:11:52 +0000
commit7ba4e5c3c0b2d30c99ff1b6fbc6c7eca9c7cf471 (patch)
tree79fdc310727c20e0f94cb825f29987ec31e45983
parent1af0f14c44ace2ee1903f5812f3b6f6828e8ac01 (diff)
downloadupstream-7ba4e5c3c0b2d30c99ff1b6fbc6c7eca9c7cf471.tar.gz
upstream-7ba4e5c3c0b2d30c99ff1b6fbc6c7eca9c7cf471.tar.bz2
upstream-7ba4e5c3c0b2d30c99ff1b6fbc6c7eca9c7cf471.zip
prevent madwifi from building on UML
SVN-Revision: 8855
-rw-r--r--package/madwifi/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/package/madwifi/Makefile b/package/madwifi/Makefile
index 9f3d7953e3..64d076bb4e 100644
--- a/package/madwifi/Makefile
+++ b/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