1SUMMARY = "Userspace tools for MMC/SD devices"
2HOMEPAGE = "http://git.kernel.org/cgit/linux/kernel/git/cjb/mmc-utils.git/"
3DESCRIPTION = "${SUMMARY}"
4LICENSE = "GPL-2.0-only"
5LIC_FILES_CHKSUM = "file://mmc.c;beginline=1;endline=20;md5=fae32792e20f4d27ade1c5a762d16b7d"
6
7SRCBRANCH ?= "master"
8SRCREV = "c62dd8e415b12cc7f9a362db23cd384caf77ff03"
9
10PV = "0.1+git${SRCPV}"
11
12SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git;branch=${SRCBRANCH}"
13UPSTREAM_CHECK_COMMITS = "1"
14
15S = "${WORKDIR}/git"
16
17CFLAGS:append:powerpc64 = " -D__SANE_USERSPACE_TYPES__"
18CFLAGS:append:mipsarchn64 = " -D__SANE_USERSPACE_TYPES__"
19CFLAGS:append:mipsarchn32 = " -D__SANE_USERSPACE_TYPES__"
20
21do_install() {
22    install -d ${D}${bindir}
23    install -m 0755 mmc ${D}${bindir}
24}
25