projects
/
openwrt
/
staging
/
dedeckeh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
replace lots of manual install commands with INSTALL_* variables
[openwrt/staging/dedeckeh.git]
/
package
/
mtd
/
Makefile
diff --git
a/package/mtd/Makefile
b/package/mtd/Makefile
index 2a27f0f5c31650374d4f584b0205eea089fc3f12..8444bd8029e8f4ef810fa863c3e39a2460e590bf 100644
(file)
--- 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))