Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | DESCRIPTION = "Userspace tools for MMC/SD devices" |
| 2 | HOMEPAGE = "http://git.kernel.org/cgit/linux/kernel/git/cjb/mmc-utils.git/" |
| 3 | LICENSE = "GPLv2" |
| 4 | LIC_FILES_CHKSUM = "file://mmc.c;beginline=1;endline=17;md5=d7747fc87f1eb22b946ef819969503f0" |
| 5 | |
Patrick Williams | f1e5d69 | 2016-03-30 15:21:19 -0500 | [diff] [blame] | 6 | SRCBRANCH ?= "master" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 7 | SRCREV = "f4eb241519f8d500ce6068a70d2389be39ac5189" |
| 8 | |
| 9 | PV = "0.1" |
| 10 | |
Patrick Williams | f1e5d69 | 2016-03-30 15:21:19 -0500 | [diff] [blame] | 11 | SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git;branch=${SRCBRANCH} \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 12 | file://0001-mmc.h-don-t-include-asm-generic-int-ll64.h.patch" |
| 13 | |
| 14 | S = "${WORKDIR}/git" |
| 15 | |
| 16 | do_configure_prepend() { |
| 17 | sed -i "s:-Werror::g" ${S}/Makefile |
| 18 | } |
| 19 | |
| 20 | do_install() { |
| 21 | install -d ${D}${bindir} |
| 22 | install -m 0755 mmc ${D}${bindir} |
| 23 | } |