summaryrefslogtreecommitdiff
path: root/recipes-devtools/mmc/mmc-utils-cos/0001-mmc.h-don-t-include-asm-generic-int-ll64.h.patch
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2017-02-23 18:50:04 +0100
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2017-04-07 14:32:34 +0200
commitaff9088493309893056f41cc3d32f1b079708f4c (patch)
treeff09a8ee02b31c0bca4578c4bf58fea97e9b96d6 /recipes-devtools/mmc/mmc-utils-cos/0001-mmc.h-don-t-include-asm-generic-int-ll64.h.patch
parent9bf59de43a19111f5c5560830530da039763edd4 (diff)
mmc-utils-cos: rename recipe to be different from mmc-utils
This allows to build either mmc-utils_git from openembedded or mmc-utils from the Chromium OS project. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'recipes-devtools/mmc/mmc-utils-cos/0001-mmc.h-don-t-include-asm-generic-int-ll64.h.patch')
-rw-r--r--recipes-devtools/mmc/mmc-utils-cos/0001-mmc.h-don-t-include-asm-generic-int-ll64.h.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes-devtools/mmc/mmc-utils-cos/0001-mmc.h-don-t-include-asm-generic-int-ll64.h.patch b/recipes-devtools/mmc/mmc-utils-cos/0001-mmc.h-don-t-include-asm-generic-int-ll64.h.patch
new file mode 100644
index 0000000..1724de5
--- /dev/null
+++ b/recipes-devtools/mmc/mmc-utils-cos/0001-mmc.h-don-t-include-asm-generic-int-ll64.h.patch
@@ -0,0 +1,28 @@
+Upstream-Status: Pending
+
+mmc.h: don't include <asm-generic/int-ll64.h>
+
+Including this file causes a compile failure for qemumips64.
+This file is not needed to be explicitly included, because it will be
+included by the <linux/mmc/ioctl.h> file if _MIPS_SZLONG is not 64.
+
+Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
+---
+ mmc.h | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/mmc.h b/mmc.h
+index 9871d62..3df2cdf 100644
+--- a/mmc.h
++++ b/mmc.h
+@@ -14,7 +14,6 @@
+ * Boston, MA 021110-1307, USA.
+ */
+
+-#include <asm-generic/int-ll64.h>
+ #include <linux/mmc/ioctl.h>
+ #include <stdio.h>
+
+--
+1.7.9.5
+