1SUMMARY = "Userspace tools for MMC/SD devices" 2HOMEPAGE = "http://git.kernel.org/cgit/linux/kernel/git/cjb/mmc-utils.git/" 3LICENSE = "GPLv2" 4LIC_FILES_CHKSUM = "file://mmc.c;beginline=1;endline=20;md5=fae32792e20f4d27ade1c5a762d16b7d" 5 6SRCBRANCH ?= "master" 7SRCREV = "b4fe0c8c0e57a74c01755fa9362703b60d7ee49d" 8 9PV = "0.1" 10 11SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git;branch=${SRCBRANCH} \ 12 file://0001-lsmmc-replace-strncpy-with-memmove-on-overlapping-me.patch \ 13 " 14UPSTREAM_CHECK_COMMITS = "1" 15 16S = "${WORKDIR}/git" 17 18CFLAGS_append_powerpc64 = " -D__SANE_USERSPACE_TYPES__" 19CFLAGS_append_mipsarchn64 = " -D__SANE_USERSPACE_TYPES__" 20CFLAGS_append_mipsarchn32 = " -D__SANE_USERSPACE_TYPES__" 21 22do_install() { 23 install -d ${D}${bindir} 24 install -m 0755 mmc ${D}${bindir} 25} 26