Add fconfig (#1155)
[openwrt/svn-archive/archive.git] / net / iperf / Makefile
index 73358c4dcb7fafc1d6b078d2eb1144d6295d86bd..714b32d85a175bb7048ba3e703de45f9d757f73d 100644 (file)
@@ -51,8 +51,8 @@ define Build/Compile
 endef
 
 define Package/iperf/install   
-       install -d -m0755 $(1)/usr/bin
-       $(CP) $(PKG_INSTALL_DIR)/usr/bin/iperf $(1)/usr/bin
+       $(INSTALL_DIR) $(1)/usr/bin
+       $(CP) $(PKG_INSTALL_DIR)/usr/bin/iperf $(1)/usr/bin/
 endef
 
 $(eval $(call BuildPackage,iperf))