aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi
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
commite80f8a0ca246639dd13d46e4dc4f58ee332582f2 (patch)
tree92778f7185da1893a2a3452c627383ea6c562e95 /package/madwifi
parentdd7eb2cf88eac68f2306df369db8ba6d3c261e33 (diff)
downloadupstream-e80f8a0ca246639dd13d46e4dc4f58ee332582f2.tar.gz
upstream-e80f8a0ca246639dd13d46e4dc4f58ee332582f2.tar.bz2
upstream-e80f8a0ca246639dd13d46e4dc4f58ee332582f2.zip
prevent madwifi from building on UML
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8855 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi')
-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