X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/de8239f3946f68ed48596b4b81a08876a03291e6..f2a91858ac9fb6fcb23aa6625973a37af464888f:/package/p54/Makefile?ds=inline diff --git a/package/p54/Makefile b/package/p54/Makefile index c69bfd607..df2e40433 100644 --- a/package/p54/Makefile +++ b/package/p54/Makefile @@ -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