Changeset 9316


Ignore:
Timestamp:
2007-10-14T13:42:09+02:00 (10 years ago)
Author:
florian
Message:

Build a karma variant of madwifi

Location:
trunk/package/madwifi
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/madwifi/Makefile

    r9052 r9316  
    104104endef 
    105105 
     106define KernelPackage/madwifi-karma 
     107  $(call KernelPackage/madwifi) 
     108  TITLE:=Madwifi for Karma support 
     109  URL:=http://www.digininja.org/ 
     110endef 
     111 
     112define KernelPackage/madwifi-karma/description 
     113  This package contains a modified driver to be used with  
     114  the Karma software for Atheros 802.11a/b/g chipsets. 
     115endef 
     116 
    106117MAKE_ARGS:= \ 
    107118        PATH="$(TARGET_PATH)" \ 
     
    136147define Build/Configure 
    137148        $(SED) 's,-E[LB] ,,g' $(PKG_BUILD_DIR)/hal/public/*.inc 
     149ifneq ($(CONFIG_PACKAGE_kmod-madwifi-karma),) 
     150        $(PATCH) $(PKG_BUILD_DIR) ./files 
     151endif 
    138152endef 
    139153 
     
    161175endef 
    162176 
     177define KernelPackage/madwifi-karma/install 
     178        $(INSTALL_DIR) $(1)/lib/wifi 
     179        $(INSTALL_DATA) ./files/lib/wifi/madwifi.sh $(1)/lib/wifi 
     180        $(INSTALL_DIR) $(1)/usr/sbin 
     181        $(CP) $(PKG_BUILD_DIR)/tools/{madwifi_multi,80211stats,athchans,athctrl,athkey,athstats,wlanconfig} $(1)/usr/sbin/ 
     182endef 
     183 
    163184$(eval $(call KernelPackage,madwifi)) 
     185$(eval $(call KernelPackage,madwifi-karma)) 
Note: See TracChangeset for help on using the changeset viewer.