aboutsummaryrefslogtreecommitdiffstats
path: root/package/mtd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/mtd/Makefile')
-rw-r--r--package/mtd/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/mtd/Makefile b/package/mtd/Makefile
index 2a27f0f5c3..8444bd8029 100644
--- a/package/mtd/Makefile
+++ b/package/mtd/Makefile
@@ -37,8 +37,8 @@ define Build/Compile
endef
define Package/mtd/install
- install -d -m0755 $(1)/sbin
- install -m0755 $(PKG_BUILD_DIR)/mtd $(1)/sbin/
+ $(INSTALL_DIR) $(1)/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/mtd $(1)/sbin/
endef
$(eval $(call BuildPackage,mtd))