summaryrefslogtreecommitdiffstats
path: root/openwrt/target/linux
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-03-28 07:00:05 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-03-28 07:00:05 +0000
commit84e153082965058d2f4d0be94fa4afd608f77551 (patch)
tree5d859319304b444de335c715d0413197c62ab3a9 /openwrt/target/linux
parent38b463fe88323df59e1f5b7f00f4530f02dea50f (diff)
fix madwifi-old (closes: #414)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3517 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/target/linux')
-rw-r--r--openwrt/target/linux/package/madwifi-old/Makefile30
1 files changed, 15 insertions, 15 deletions
diff --git a/openwrt/target/linux/package/madwifi-old/Makefile b/openwrt/target/linux/package/madwifi-old/Makefile
index b2c1c79c6..25c64df50 100644
--- a/openwrt/target/linux/package/madwifi-old/Makefile
+++ b/openwrt/target/linux/package/madwifi-old/Makefile
@@ -44,12 +44,12 @@ endif
include $(TOPDIR)/package/rules.mk
-$(eval $(call PKG_template,KMOD_MADWIFI,kmod-madwifi-old,$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE),$(ARCH),kernel ($(LINUX_VERSION)-$(BOARD)-$(LINUX_RELEASE))))
+$(eval $(call PKG_template,KMOD_MADWIFI_OLD,kmod-madwifi-old,$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE),$(ARCH),kernel ($(LINUX_VERSION)-$(BOARD)-$(LINUX_RELEASE))))
$(PKG_BUILD_DIR)/.configured:
touch $@
-MADWIFI_MAKEOPTS= -C $(PKG_BUILD_DIR) \
+MADWIFI_OLD_MAKEOPTS= -C $(PKG_BUILD_DIR) \
PATH="$(TARGET_PATH)" \
ARCH="$(LINUX_KARCH)" \
CROSS_COMPILE="$(TARGET_CROSS)" \
@@ -62,30 +62,30 @@ MADWIFI_MAKEOPTS= -C $(PKG_BUILD_DIR) \
$(PKG_BUILD_DIR)/.built:
ifeq ($(findstring AHB,$(BUS)),AHB)
- $(MAKE) $(MADWIFI_MAKEOPTS) BUS="AHB" all
+ $(MAKE) $(MADWIFI_OLD_MAKEOPTS) BUS="AHB" all
endif
ifeq ($(findstring PCI,$(BUS)),PCI)
- $(MAKE) $(MADWIFI_MAKEOPTS) BUS="PCI" all
+ $(MAKE) $(MADWIFI_OLD_MAKEOPTS) BUS="PCI" all
endif
- $(MAKE) $(MADWIFI_MAKEOPTS) -C tools all
+ $(MAKE) $(MADWIFI_OLD_MAKEOPTS) -C tools all
$(RSTRIP) $(PKG_BUILD_DIR)/tools/madwifi_multi
touch $@
-$(IPKG_KMOD_MADWIFI):
- mkdir -p $(IDIR_KMOD_MADWIFI)/etc/modules.d
- mkdir -p $(IDIR_KMOD_MADWIFI)/etc/init.d
- mkdir -p $(IDIR_KMOD_MADWIFI)/lib/modules/$(LINUX_VERSION)
- mkdir -p $(IDIR_KMOD_MADWIFI)/usr/sbin
- install -m0644 ./files/madwifi.modules $(IDIR_KMOD_MADWIFI)/etc/modules.d/20-madwifi
- install -m0755 ./files/madwifi.init $(IDIR_KMOD_MADWIFI)/etc/init.d/S20madwifi
+$(IPKG_KMOD_MADWIFI_OLD):
+ install -d -m0755 $(IDIR_KMOD_MADWIFI_OLD)/etc/modules.d
+ install -m0644 ./files/madwifi.modules $(IDIR_KMOD_MADWIFI_OLD)/etc/modules.d/20-madwifi
+ install -d -m0755 $(IDIR_KMOD_MADWIFI_OLD)/etc/init.d
+ install -m0755 ./files/madwifi.init $(IDIR_KMOD_MADWIFI_OLD)/etc/init.d/S20madwifi
+ install -d -m0755 $(IDIR_KMOD_MADWIFI_OLD)/lib/modules/$(LINUX_VERSION)
$(CP) $(PKG_BUILD_DIR)/net80211/wlan*.$(LINUX_KMOD_SUFFIX) \
$(PKG_BUILD_DIR)/ath_hal/ath_hal.$(LINUX_KMOD_SUFFIX) \
$(BUS_MODULES) \
$(PKG_BUILD_DIR)/ath_rate/sample/ath_rate_sample.$(LINUX_KMOD_SUFFIX) \
$(PKG_BUILD_DIR)/net80211/*.$(LINUX_KMOD_SUFFIX) \
- $(IDIR_KMOD_MADWIFI)/lib/modules/$(LINUX_VERSION)/
- $(CP) $(PKG_BUILD_DIR)/tools/{80211debug,80211stats,athchans,athctrl,athdebug,athkey,athstats} $(IDIR_KMOD_MADWIFI)/usr/sbin/
- $(IPKG_BUILD) $(IDIR_KMOD_MADWIFI) $(PACKAGE_DIR)
+ $(IDIR_KMOD_MADWIFI_OLD)/lib/modules/$(LINUX_VERSION)/
+ install -d -m0755 $(IDIR_KMOD_MADWIFI_OLD)/usr/sbin
+ $(CP) $(PKG_BUILD_DIR)/tools/{80211debug,80211stats,athchans,athctrl,athdebug,athkey,athstats} $(IDIR_KMOD_MADWIFI_OLD)/usr/sbin/
+ $(IPKG_BUILD) $(IDIR_KMOD_MADWIFI_OLD) $(PACKAGE_DIR)
$(STAGING_DIR)/usr/include/madwifi-old/net80211/ieee80211.h: $(PKG_BUILD_DIR)/.built
mkdir -p $(STAGING_DIR)/usr/include/madwifi-old