[Buildroot] [git commit] mmc-utils: use upstream provided install target

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Sep 6 21:31:20 UTC 2017


commit: https://git.buildroot.net/buildroot/commit/?id=371d3a7ab8d10e73243f33c564218306aec54a97
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Cc: Sébastien Szymanski <sebastien.szymanski at armadeus.com>
Signed-off-by: Baruch Siach <baruch at tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/mmc-utils/mmc-utils.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/mmc-utils/mmc-utils.mk b/package/mmc-utils/mmc-utils.mk
index 0b9a6d1..9aeaf5c 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))


More information about the buildroot mailing list