summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/mmc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/mmc')
-rw-r--r--meta/recipes-devtools/mmc/mmc-utils/0001-mmc.h-don-t-include-asm-generic-int-ll64.h.patch28
-rw-r--r--meta/recipes-devtools/mmc/mmc-utils_git.bb19
2 files changed, 47 insertions, 0 deletions
diff --git a/meta/recipes-devtools/mmc/mmc-utils/0001-mmc.h-don-t-include-asm-generic-int-ll64.h.patch b/meta/recipes-devtools/mmc/mmc-utils/0001-mmc.h-don-t-include-asm-generic-int-ll64.h.patch
new file mode 100644
index 0000000000..1724de5c69
--- /dev/null
+++ b/meta/recipes-devtools/mmc/mmc-utils/0001-mmc.h-don-t-include-asm-generic-int-ll64.h.patch
@@ -0,0 +1,28 @@
1Upstream-Status: Pending
2
3mmc.h: don't include <asm-generic/int-ll64.h>
4
5Including this file causes a compile failure for qemumips64.
6This file is not needed to be explicitly included, because it will be
7included by the <linux/mmc/ioctl.h> file if _MIPS_SZLONG is not 64.
8
9Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
10---
11 mmc.h | 1 -
12 1 file changed, 1 deletion(-)
13
14diff --git a/mmc.h b/mmc.h
15index 9871d62..3df2cdf 100644
16--- a/mmc.h
17+++ b/mmc.h
18@@ -14,7 +14,6 @@
19 * Boston, MA 021110-1307, USA.
20 */
21
22-#include <asm-generic/int-ll64.h>
23 #include <linux/mmc/ioctl.h>
24 #include <stdio.h>
25
26--
271.7.9.5
28
diff --git a/meta/recipes-devtools/mmc/mmc-utils_git.bb b/meta/recipes-devtools/mmc/mmc-utils_git.bb
new file mode 100644
index 0000000000..d88520c786
--- /dev/null
+++ b/meta/recipes-devtools/mmc/mmc-utils_git.bb
@@ -0,0 +1,19 @@
1DESCRIPTION = "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=17;md5=d7747fc87f1eb22b946ef819969503f0"
5
6BRANCH ?= "master"
7SRCREV = "11f2ceabc4ad3f0dd568e0ce68166e4803e0615b"
8
9PV = "0.1"
10
11SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git;protocol=git;branch=${BRANCH} \
12 file://0001-mmc.h-don-t-include-asm-generic-int-ll64.h.patch"
13
14S = "${WORKDIR}/git"
15
16do_install() {
17 install -d ${D}${bindir}
18 install -m 0755 mmc ${D}${bindir}
19}