add $(STAGING_DIR) as argument to the InstallDev template and update packages accordi...
[openwrt-10.03/.git] / package / mac80211 / Makefile
index 66a530d037dbbc15fff3902b5e3cb9a2927e9888..63d7fff4753528da511ba72ad13327299cc0eb65 100644 (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))