Merge branch 'openssl'
[openwrt.git] / package / p54 / Makefile
index c69bfd6..df2e404 100644 (file)
@@ -1,10 +1,10 @@
 #
-# Copyright (C) 2007 OpenWrt.org
+# Copyright (C) 2007-2008 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 # 
-# $Id$
+# $Id$
 
 include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/kernel.mk
@@ -18,10 +18,12 @@ PKG_FWP54_MD5SUM:=09f9da7ea757173c9de1a0322a1f9782
 
 include $(INCLUDE_DIR)/package.mk
 
+# XXX: remove @!TARGET_* later when we have PCI & USB support properly detected on all targets
+
 define KernelPackage/p54/Default
   SUBMENU:=Wireless Drivers
   TITLE:=Prism Wireless Support (mac80211)
-  DEPENDS:=@LINUX_2_6 +kmod-mac80211
+  DEPENDS:=+kmod-mac80211 @!TARGET_ar7 @!TARGET_atheros @!TARGET_uml
 endef
 
 define KernelPackage/p54-common
@@ -95,7 +97,9 @@ ifneq ($(findstring 2.6.23,$(LINUX_VERSION)),)
                modules
   endef
 else
-  override CONFIG_kmod-p54=
+  override CONFIG_PACKAGE_kmod-p54-common=
+  override CONFIG_PACKAGE_kmod-p54-pci=
+  override CONFIG_PACKAGE_kmod-p54-usb=
 endif
 
 define KernelPackage/p54-pci/install
This page took 0.022813 seconds and 4 git commands to generate.