aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-09-28 01:45:11 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-09-28 01:45:11 +0000
commit969ac7459ee6f948ea1c8804cc38d659e0c4a9d1 (patch)
tree7fa927cde9937adeae52d231c1266c7432dc9316 /package/madwifi
parent800ef0f56ca5971811267b5639c7895c2d569491 (diff)
downloadupstream-969ac7459ee6f948ea1c8804cc38d659e0c4a9d1.tar.gz
upstream-969ac7459ee6f948ea1c8804cc38d659e0c4a9d1.tar.bz2
upstream-969ac7459ee6f948ea1c8804cc38d659e0c4a9d1.zip
add $(STAGING_DIR) as argument to the InstallDev template and update packages accordingly - this way we can reuse InstallDev to automatically generate UninstallDev or create -dev packages
SVN-Revision: 9052
Diffstat (limited to 'package/madwifi')
-rw-r--r--package/madwifi/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/package/madwifi/Makefile b/package/madwifi/Makefile
index 64d076bb4e..06b3bb6c58 100644
--- a/package/madwifi/Makefile
+++ b/package/madwifi/Makefile
@@ -143,14 +143,14 @@ define Build/Compile
endef
define Build/InstallDev
- 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/
+ mkdir -p $(1)/usr/include/madwifi
+ $(CP) $(PKG_BUILD_DIR)/include $(1)/usr/include/madwifi/
+ mkdir -p $(1)/usr/include/madwifi/net80211
+ $(CP) $(PKG_BUILD_DIR)/net80211/*.h $(1)/usr/include/madwifi/net80211/
endef
define Build/UninstallDev
- rm -rf $(STAGING_DIR)/usr/include/madwifi
+ rm -rf $(1)/usr/include/madwifi
endef
define KernelPackage/madwifi/install