From d1540691402b3664c08b35542b10f0e8cffc9dc9 Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbx@openwrt.org>
Date: Tue, 14 Mar 2006 21:13:36 +0000
Subject: do not overwrite madwifi-ng includes, use madwifi-old directory

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3369 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 target/linux/package/madwifi-old/Makefile | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/target/linux/package/madwifi-old/Makefile b/target/linux/package/madwifi-old/Makefile
index 5baef33244..b2c1c79c6a 100644
--- a/target/linux/package/madwifi-old/Makefile
+++ b/target/linux/package/madwifi-old/Makefile
@@ -87,17 +87,17 @@ $(IPKG_KMOD_MADWIFI):
 	$(CP) $(PKG_BUILD_DIR)/tools/{80211debug,80211stats,athchans,athctrl,athdebug,athkey,athstats} $(IDIR_KMOD_MADWIFI)/usr/sbin/
 	$(IPKG_BUILD) $(IDIR_KMOD_MADWIFI) $(PACKAGE_DIR)
 
-$(STAGING_DIR)/usr/include/madwifi/net80211/ieee80211.h: $(PKG_BUILD_DIR)/.built
-	mkdir -p $(STAGING_DIR)/usr/include/madwifi
-	$(CP) $(PKG_BUILD_DIR)/include $(STAGING_DIR)/usr/include/madwifi/
-	mkdir -p $(STAGING_DIR)/usr/include/madwifi/net80211
-	$(CP) $(PKG_BUILD_DIR)/net80211/*.h $(STAGING_DIR)/usr/include/madwifi/net80211/
+$(STAGING_DIR)/usr/include/madwifi-old/net80211/ieee80211.h: $(PKG_BUILD_DIR)/.built
+	mkdir -p $(STAGING_DIR)/usr/include/madwifi-old
+	$(CP) $(PKG_BUILD_DIR)/include $(STAGING_DIR)/usr/include/madwifi-old
+	mkdir -p $(STAGING_DIR)/usr/include/madwifi-old/net80211
+	$(CP) $(PKG_BUILD_DIR)/net80211/*.h $(STAGING_DIR)/usr/include/madwifi-old/net80211/
 	touch $@
 
-install-dev: $(STAGING_DIR)/usr/include/madwifi/net80211/ieee80211.h
+install-dev: $(STAGING_DIR)/usr/include/madwifi-old/net80211/ieee80211.h
 
 uninstall-dev:
-	rm -rf $(STAGING_DIR)/usr/include/madwifi
+	rm -rf $(STAGING_DIR)/usr/include/madwifi-old
 
 compile-targets: install-dev
 clean-targets: uninstall-dev
-- 
cgit v1.2.3