diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-10-14 11:42:09 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-10-14 11:42:09 +0000 |
commit | e25a934150ac2895471c880a13aa1497a89168ce (patch) | |
tree | b5c5e1a2af73f4a68c0244970baeb97318aeb975 /package/madwifi/Makefile | |
parent | 090556e1f81450646acc2587abdacb1916973890 (diff) |
Build a karma variant of madwifi
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9316 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/Makefile')
-rw-r--r-- | package/madwifi/Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/package/madwifi/Makefile b/package/madwifi/Makefile index 06b3bb6c58..f4f7fcd8b6 100644 --- a/package/madwifi/Makefile +++ b/package/madwifi/Makefile @@ -103,6 +103,17 @@ define KernelPackage/madwifi/description This package contains a driver for Atheros 802.11a/b/g chipsets. endef +define KernelPackage/madwifi-karma + $(call KernelPackage/madwifi) + TITLE:=Madwifi for Karma support + URL:=http://www.digininja.org/ +endef + +define KernelPackage/madwifi-karma/description + This package contains a modified driver to be used with + the Karma software for Atheros 802.11a/b/g chipsets. +endef + MAKE_ARGS:= \ PATH="$(TARGET_PATH)" \ ARCH="$(LINUX_KARCH)" \ @@ -135,6 +146,9 @@ endif define Build/Configure $(SED) 's,-E[LB] ,,g' $(PKG_BUILD_DIR)/hal/public/*.inc +ifneq ($(CONFIG_PACKAGE_kmod-madwifi-karma),) + $(PATCH) $(PKG_BUILD_DIR) ./files +endif endef define Build/Compile @@ -160,4 +174,12 @@ define KernelPackage/madwifi/install $(CP) $(PKG_BUILD_DIR)/tools/{madwifi_multi,80211stats,athchans,athctrl,athkey,athstats,wlanconfig} $(1)/usr/sbin/ endef +define KernelPackage/madwifi-karma/install + $(INSTALL_DIR) $(1)/lib/wifi + $(INSTALL_DATA) ./files/lib/wifi/madwifi.sh $(1)/lib/wifi + $(INSTALL_DIR) $(1)/usr/sbin + $(CP) $(PKG_BUILD_DIR)/tools/{madwifi_multi,80211stats,athchans,athctrl,athkey,athstats,wlanconfig} $(1)/usr/sbin/ +endef + $(eval $(call KernelPackage,madwifi)) +$(eval $(call KernelPackage,madwifi-karma)) |