blob: 0c401c86fac7a04e6c42c916e2886caf138a150f [file] [log] [blame]
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05001SUMMARY = "Userspace tools for MMC/SD devices"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05002HOMEPAGE = "http://git.kernel.org/cgit/linux/kernel/git/cjb/mmc-utils.git/"
3LICENSE = "GPLv2"
Patrick Williamsc0f7c042017-02-23 20:41:17 -06004LIC_FILES_CHKSUM = "file://mmc.c;beginline=1;endline=20;md5=fae32792e20f4d27ade1c5a762d16b7d"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05005
Patrick Williamsf1e5d692016-03-30 15:21:19 -05006SRCBRANCH ?= "master"
Brad Bishopc342db32019-05-15 21:57:59 -04007SRCREV = "aef913e31b659462fe6b9320d241676cba97f67b"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05008
Brad Bishopc342db32019-05-15 21:57:59 -04009PV = "0.1+git${SRCPV}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050010
Brad Bishop316dfdd2018-06-25 12:45:53 -040011SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git;branch=${SRCBRANCH} \
Brad Bishop393846f2019-05-20 12:24:11 -040012 file://0001-mmc_cmd.c-Use-extra-braces-when-initializing-subobje.patch \
Brad Bishop316dfdd2018-06-25 12:45:53 -040013 "
14UPSTREAM_CHECK_COMMITS = "1"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050015
16S = "${WORKDIR}/git"
17
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050018CFLAGS_append_powerpc64 = " -D__SANE_USERSPACE_TYPES__"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050019CFLAGS_append_mipsarchn64 = " -D__SANE_USERSPACE_TYPES__"
20CFLAGS_append_mipsarchn32 = " -D__SANE_USERSPACE_TYPES__"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050021
22do_install() {
23 install -d ${D}${bindir}
24 install -m 0755 mmc ${D}${bindir}
25}