[Buildroot] [PATCH 1/1] mmc-utils: new package

Peter Korsgaard jacmet at uclibc.org
Wed Jan 15 14:02:21 UTC 2014


>>>>> "Sébastien" == Sébastien Szymanski <sebastien.szymanski at armadeus.com> writes:

 > mmc-utils provides tools to manipulate mmc device registers.
 > It is under "Hardware handling".

I know it could go in both sections, but we have E.G. flashbench under
filesystem and flash utilities, so I put it there instead.

 > +################################################################################
 > +#
 > +# 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
 > +
 > +define MMC_UTILS_UNINSTALL_TARGET_CMDS
 > +	$(RM) $(TARGET_DIR)/usr/bin/mmc
 > +endef

We have deprecated uninstall commands, so this can go. Other than that
it looks good - Committed, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list