summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2017-09-04 10:40:40 +0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-09-06 23:31:20 +0200
commit371d3a7ab8d10e73243f33c564218306aec54a97 (patch)
treed0f7f94c0c3d0f4c9b8b650fda5f27dcd69a5287
parent06a2d82de741cf4e03c0d2f96634958a51bfe8bc (diff)
downloadbuildroot-371d3a7ab8d10e73243f33c564218306aec54a97.tar.gz
buildroot-371d3a7ab8d10e73243f33c564218306aec54a97.zip
mmc-utils: use upstream provided install target
Cc: Sébastien Szymanski <sebastien.szymanski@armadeus.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/mmc-utils/mmc-utils.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mmc-utils/mmc-utils.mk b/package/mmc-utils/mmc-utils.mk
index 0b9a6d1419..9aeaf5c69c 100644
--- a/package/mmc-utils/mmc-utils.mk
+++ b/package/mmc-utils/mmc-utils.mk
@@ -13,7 +13,7 @@ define MMC_UTILS_BUILD_CMDS
endef
define MMC_UTILS_INSTALL_TARGET_CMDS
- $(INSTALL) -D -m 0755 $(@D)/mmc $(TARGET_DIR)/usr/bin/mmc
+ $(MAKE) -C $(@D) prefix=/usr DESTDIR=$(TARGET_DIR) install
endef
$(eval $(generic-package))
OpenPOWER on IntegriCloud