blob: 2d02927af7bcdaed71b72d2346bfc3ae92d2ba33 [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/"
Andrew Geissler90fd73c2021-03-05 15:25:55 -06003DESCRIPTION = "${SUMMARY}"
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00004LICENSE = "GPL-2.0-only"
Patrick Williamsc0f7c042017-02-23 20:41:17 -06005LIC_FILES_CHKSUM = "file://mmc.c;beginline=1;endline=20;md5=fae32792e20f4d27ade1c5a762d16b7d"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05006
Patrick Williamsf1e5d692016-03-30 15:21:19 -05007SRCBRANCH ?= "master"
Andrew Geissler220dafd2023-10-04 10:18:08 -05008SRCREV = "613495ecaca97a19fa7f8f3ea23306472b36453c"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05009
Andrew Geissler5082cc72023-09-11 08:41:39 -040010PV = "0.1+git"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050011
Andrew Geissler028142b2023-05-05 11:29:21 -050012SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git;branch=${SRCBRANCH};protocol=https"
Brad Bishop316dfdd2018-06-25 12:45:53 -040013UPSTREAM_CHECK_COMMITS = "1"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050014
15S = "${WORKDIR}/git"
16
Patrick Williams213cb262021-08-07 19:21:33 -050017CFLAGS:append:powerpc64 = " -D__SANE_USERSPACE_TYPES__"
18CFLAGS:append:mipsarchn64 = " -D__SANE_USERSPACE_TYPES__"
19CFLAGS:append:mipsarchn32 = " -D__SANE_USERSPACE_TYPES__"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050020
21do_install() {
22 install -d ${D}${bindir}
23 install -m 0755 mmc ${D}${bindir}
24}