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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9052 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Felix Fietkau
2007-09-28 01:45:11 +00:00
parent 499485004b
commit bb6c4aade1
16 changed files with 123 additions and 123 deletions

View File

@@ -62,12 +62,12 @@ define Build/Compile
endef
define Build/InstallDev
mkdir -p $(STAGING_DIR)/usr/include/mac80211
$(CP) $(PKG_BUILD_DIR)/mac80211/{hostapd_ioctl,ieee80211_common}.h $(STAGING_DIR)/usr/include/mac80211/
mkdir -p $(1)/usr/include/mac80211
$(CP) $(PKG_BUILD_DIR)/mac80211/{hostapd_ioctl,ieee80211_common}.h $(1)/usr/include/mac80211/
endef
define Build/UninstallDev
rm -rf $(STAGING_DIR)/usr/include/mac80211
rm -rf $(1)/usr/include/mac80211
endef
$(eval $(call KernelPackage,mac80211))