Use $(CP) instead of $(INSTALL_BIN) for binaries.
[openwrt/staging/hauke.git] / package / wireless-tools / Makefile
index 3e997a176ce28a80e1b67302225ae25c69134586..e66b2e3a490650d9115ca323ba1857f50648132d 100644 (file)
@@ -63,7 +63,7 @@ endef
 
 define Package/wireless-tools/install
        $(INSTALL_DIR) $(1)/usr/sbin
-       $(CP) $(PKG_INSTALL_DIR)/usr/sbin/iw{config,getid,list,priv,spy} $(1)/usr/sbin/
+       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/iw{config,getid,list,priv,spy} $(1)/usr/sbin/
 endef
 
 $(eval $(call BuildPackage,wireless-tools))