1################################################################################ 2# 3# mmc-utils 4# 5################################################################################ 6 7MMC_UTILS_VERSION = d40ec535b9d4e4c974e8c2fbfb422cd0348cc5e8 8MMC_UTILS_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git 9MMC_UTILS_LICENSE = GPL-2.0 10MMC_UTILS_LICENSE_FILES = mmc.h 11 12# override AM_CFLAGS as the project Makefile uses it to pass 13# -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2, and the latter conflicts 14# with the _FORTIFY_SOURCE that we pass when hardening options are 15# enabled. 16define MMC_UTILS_BUILD_CMDS 17 $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) AM_CFLAGS= 18endef 19 20define MMC_UTILS_INSTALL_TARGET_CMDS 21 $(MAKE) -C $(@D) prefix=/usr DESTDIR=$(TARGET_DIR) install 22endef 23 24$(eval $(generic-package)) 25