summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-09-19 09:31:58 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2017-09-22 22:50:46 +0000
commit19de9be982068873bdaa7a44f9e10bf317a77999 (patch)
treed2d1b8d7e774fce1f8cebc163e78bada1453f14d /meta-oe/recipes-devtools
parentf75b3ac72099ba48f9351fd8551588d002867778 (diff)
downloadmeta-openembedded-19de9be982068873bdaa7a44f9e10bf317a77999.tar.gz
breakpad: Fix mips build on musl
There still are issues but this makes it better and fix can be upstreamed Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools')
-rw-r--r--meta-oe/recipes-devtools/breakpad/breakpad/mips_asm_sgidefs.patch20
-rw-r--r--meta-oe/recipes-devtools/breakpad/breakpad_git.bb1
2 files changed, 21 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/breakpad/breakpad/mips_asm_sgidefs.patch b/meta-oe/recipes-devtools/breakpad/breakpad/mips_asm_sgidefs.patch
new file mode 100644
index 000000000..678f63d74
--- /dev/null
+++ b/meta-oe/recipes-devtools/breakpad/breakpad/mips_asm_sgidefs.patch
@@ -0,0 +1,20 @@
1Index: lss/linux_syscall_support.h
2===================================================================
3--- lss.orig/linux_syscall_support.h
4+++ lss/linux_syscall_support.h
5@@ -118,15 +118,7 @@ extern "C" {
6 #include <endian.h>
7
8 #ifdef __mips__
9-/* Include definitions of the ABI currently in use. */
10-#ifdef __ANDROID__
11-/* Android doesn't have sgidefs.h, but does have asm/sgidefs.h,
12- * which has the definitions we need.
13- */
14 #include <asm/sgidefs.h>
15-#else
16-#include <sgidefs.h>
17-#endif
18 #endif
19 #endif
20
diff --git a/meta-oe/recipes-devtools/breakpad/breakpad_git.bb b/meta-oe/recipes-devtools/breakpad/breakpad_git.bb
index 9a1255594..1ddd6b565 100644
--- a/meta-oe/recipes-devtools/breakpad/breakpad_git.bb
+++ b/meta-oe/recipes-devtools/breakpad/breakpad_git.bb
@@ -41,6 +41,7 @@ SRC_URI = "git://github.com/google/breakpad;name=breakpad \
41 file://0005-md2core-Replace-basename.patch \ 41 file://0005-md2core-Replace-basename.patch \
42 file://0002-Use-_fpstate-instead-of-_libc_fpstate-on-linux.patch \ 42 file://0002-Use-_fpstate-instead-of-_libc_fpstate-on-linux.patch \
43 file://0001-lss-Match-syscalls-to-match-musl.patch;patchdir=src/third_party/lss \ 43 file://0001-lss-Match-syscalls-to-match-musl.patch;patchdir=src/third_party/lss \
44 file://mips_asm_sgidefs.patch;patchdir=src/third_party/lss \
44" 45"
45S = "${WORKDIR}/git" 46S = "${WORKDIR}/git"
46 47