do not overwrite madwifi-ng includes, use madwifi-old directory
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>
Tue, 14 Mar 2006 21:13:36 +0000 (21:13 +0000)
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>
Tue, 14 Mar 2006 21:13:36 +0000 (21:13 +0000)
SVN-Revision: 3369

openwrt/target/linux/package/madwifi-old/Makefile

index 5baef332447d85f5ac3fc25ffacacdb2da564181..b2c1c79c6a6c1ee7152d0908b1d1e18c98d9c9ce 100644 (file)
@@ -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