kumquat-buildroot/package/mmc-utils/mmc-utils.mk
Sébastien Szymanski 84179df8ae mmc-utils: new package
mmc-utils provides tools to manipulate mmc device registers.

[Peter: drop uninstall, move to filesystem and flash utilities]
Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-15 15:00:46 +01:00

20 lines
559 B
Makefile

################################################################################
#
# mmc-utils
#
################################################################################
MMC_UTILS_VERSION = 11f2ceabc4ad3f0dd568e0ce68166e4803e0615b
MMC_UTILS_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git
MMC_UTILS_LICENSE = GPLv2
define MMC_UTILS_BUILD_CMDS
$(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS)
endef
define MMC_UTILS_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/mmc $(TARGET_DIR)/usr/bin/mmc
endef
$(eval $(generic-package))