Changeset 3517


Ignore:
Timestamp:
2006-03-28T09:00:05+02:00 (12 years ago)
Author:
nico
Message:

fix madwifi-old (closes: #414)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openwrt/target/linux/package/madwifi-old/Makefile

    r3369 r3517  
    4545include $(TOPDIR)/package/rules.mk 
    4646 
    47 $(eval $(call PKG_template,KMOD_MADWIFI,kmod-madwifi-old,$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE),$(ARCH),kernel ($(LINUX_VERSION)-$(BOARD)-$(LINUX_RELEASE)))) 
     47$(eval $(call PKG_template,KMOD_MADWIFI_OLD,kmod-madwifi-old,$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE),$(ARCH),kernel ($(LINUX_VERSION)-$(BOARD)-$(LINUX_RELEASE)))) 
    4848 
    4949$(PKG_BUILD_DIR)/.configured: 
    5050        touch $@ 
    5151 
    52 MADWIFI_MAKEOPTS= -C $(PKG_BUILD_DIR) \ 
     52MADWIFI_OLD_MAKEOPTS= -C $(PKG_BUILD_DIR) \ 
    5353                PATH="$(TARGET_PATH)" \ 
    5454                ARCH="$(LINUX_KARCH)" \ 
     
    6363$(PKG_BUILD_DIR)/.built: 
    6464ifeq ($(findstring AHB,$(BUS)),AHB) 
    65         $(MAKE) $(MADWIFI_MAKEOPTS) BUS="AHB" all 
     65        $(MAKE) $(MADWIFI_OLD_MAKEOPTS) BUS="AHB" all 
    6666endif 
    6767ifeq ($(findstring PCI,$(BUS)),PCI) 
    68         $(MAKE) $(MADWIFI_MAKEOPTS) BUS="PCI" all 
     68        $(MAKE) $(MADWIFI_OLD_MAKEOPTS) BUS="PCI" all 
    6969endif 
    70         $(MAKE) $(MADWIFI_MAKEOPTS) -C tools all 
     70        $(MAKE) $(MADWIFI_OLD_MAKEOPTS) -C tools all 
    7171        $(RSTRIP) $(PKG_BUILD_DIR)/tools/madwifi_multi 
    7272        touch $@ 
    7373 
    74 $(IPKG_KMOD_MADWIFI): 
    75         mkdir -p $(IDIR_KMOD_MADWIFI)/etc/modules.d 
    76         mkdir -p $(IDIR_KMOD_MADWIFI)/etc/init.d 
    77         mkdir -p $(IDIR_KMOD_MADWIFI)/lib/modules/$(LINUX_VERSION) 
    78         mkdir -p $(IDIR_KMOD_MADWIFI)/usr/sbin 
    79         install -m0644 ./files/madwifi.modules $(IDIR_KMOD_MADWIFI)/etc/modules.d/20-madwifi 
    80         install -m0755 ./files/madwifi.init $(IDIR_KMOD_MADWIFI)/etc/init.d/S20madwifi 
     74$(IPKG_KMOD_MADWIFI_OLD): 
     75        install -d -m0755 $(IDIR_KMOD_MADWIFI_OLD)/etc/modules.d 
     76        install -m0644 ./files/madwifi.modules $(IDIR_KMOD_MADWIFI_OLD)/etc/modules.d/20-madwifi 
     77        install -d -m0755 $(IDIR_KMOD_MADWIFI_OLD)/etc/init.d 
     78        install -m0755 ./files/madwifi.init $(IDIR_KMOD_MADWIFI_OLD)/etc/init.d/S20madwifi 
     79        install -d -m0755 $(IDIR_KMOD_MADWIFI_OLD)/lib/modules/$(LINUX_VERSION) 
    8180        $(CP)   $(PKG_BUILD_DIR)/net80211/wlan*.$(LINUX_KMOD_SUFFIX) \ 
    8281                $(PKG_BUILD_DIR)/ath_hal/ath_hal.$(LINUX_KMOD_SUFFIX) \ 
     
    8483                $(PKG_BUILD_DIR)/ath_rate/sample/ath_rate_sample.$(LINUX_KMOD_SUFFIX) \ 
    8584                $(PKG_BUILD_DIR)/net80211/*.$(LINUX_KMOD_SUFFIX) \ 
    86                 $(IDIR_KMOD_MADWIFI)/lib/modules/$(LINUX_VERSION)/ 
    87         $(CP) $(PKG_BUILD_DIR)/tools/{80211debug,80211stats,athchans,athctrl,athdebug,athkey,athstats} $(IDIR_KMOD_MADWIFI)/usr/sbin/ 
    88         $(IPKG_BUILD) $(IDIR_KMOD_MADWIFI) $(PACKAGE_DIR) 
     85                $(IDIR_KMOD_MADWIFI_OLD)/lib/modules/$(LINUX_VERSION)/ 
     86        install -d -m0755 $(IDIR_KMOD_MADWIFI_OLD)/usr/sbin 
     87        $(CP) $(PKG_BUILD_DIR)/tools/{80211debug,80211stats,athchans,athctrl,athdebug,athkey,athstats} $(IDIR_KMOD_MADWIFI_OLD)/usr/sbin/ 
     88        $(IPKG_BUILD) $(IDIR_KMOD_MADWIFI_OLD) $(PACKAGE_DIR) 
    8989 
    9090$(STAGING_DIR)/usr/include/madwifi-old/net80211/ieee80211.h: $(PKG_BUILD_DIR)/.built 
Note: See TracChangeset for help on using the changeset viewer.