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>
This commit is contained in:
Baruch Siach 2017-09-04 10:40:40 +03:00 committed by Thomas Petazzoni
parent 06a2d82de7
commit 371d3a7ab8

View File

@ -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))