Commit 84179df8 authored by Sébastien Szymanski's avatar Sébastien Szymanski Committed by Peter Korsgaard
Browse files

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: default avatarSébastien Szymanski <sebastien.szymanski@armadeus.com>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent ab5c9c36
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -144,6 +144,7 @@ source "package/genext2fs/Config.in"
source "package/genromfs/Config.in"
source "package/kobs-ng/Config.in"
source "package/makedevs/Config.in"
source "package/mmc-utils/Config.in"
source "package/mtd/Config.in"
source "package/nfs-utils/Config.in"
source "package/ntfs-3g/Config.in"
+10 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_MMC_UTILS
	bool "mmc-utils"
	depends on BR2_LARGEFILE
	help
	  MMC utils

	  https://git.kernel.org/cgit/linux/kernel/git/cjb/mmc-utils.git

comment "mmc-utils needs a toolchain w/ largefile"
	depends on !BR2_LARGEFILE
+19 −0
Original line number Diff line number Diff line
################################################################################
#
# 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))