diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
commit | 1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e (patch) | |
tree | a21a5fc103bb3bd65ecd85ed22be5228fc54e447 /meta-oe/recipes-devtools/breakpad | |
download | meta-openembedded-1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-oe/recipes-devtools/breakpad')
-rw-r--r-- | meta-oe/recipes-devtools/breakpad/breakpad_svn.bb | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/breakpad/breakpad_svn.bb b/meta-oe/recipes-devtools/breakpad/breakpad_svn.bb new file mode 100644 index 000000000..2c5941d7e --- /dev/null +++ b/meta-oe/recipes-devtools/breakpad/breakpad_svn.bb | |||
@@ -0,0 +1,73 @@ | |||
1 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
2 | |||
3 | # Applications using this library needs to add link against libbreakpad_client.a. | ||
4 | |||
5 | SUMMARY = "An open-source multi-platform crash reporting system" | ||
6 | DESCRIPTION = "Breakpad is a library and tool suite that allows you to distribute an application to users with compiler-provided debugging information removed, record crashes in compact \"minidump\" files, send them back to your server, and produce C and C++ stack traces from these minidumps. " | ||
7 | HOMEPAGE = "https://code.google.com/p/google-breakpad/" | ||
8 | LICENSE = "BSD-3-Clause" | ||
9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=56c24a43c81c3af6fcf590851931489e" | ||
10 | SECTION = "libs" | ||
11 | |||
12 | inherit autotools | ||
13 | |||
14 | BBCLASSEXTEND = "native" | ||
15 | |||
16 | SRCREV = "r1318" | ||
17 | SRC_URI = "svn://google-breakpad.googlecode.com/svn;module=trunk;protocol=http" | ||
18 | S = "${WORKDIR}/trunk" | ||
19 | |||
20 | do_install_append() { | ||
21 | install -d ${D}${includedir} | ||
22 | install -d ${D}${includedir}/breakpad | ||
23 | |||
24 | install -d ${D}${includedir}/breakpad/client/linux/crash_generation | ||
25 | install -m 0644 ${S}/src/client/linux/crash_generation/crash_generation_client.h ${D}${includedir}/breakpad/client/linux/crash_generation/crash_generation_client.h | ||
26 | |||
27 | install -d ${D}${includedir}/breakpad/client/linux/handler/ | ||
28 | install -m 0644 ${S}/src/client/linux/handler/exception_handler.h ${D}${includedir}/breakpad/client/linux/handler/exception_handler.h | ||
29 | install -m 0644 ${S}/src/client/linux/handler/minidump_descriptor.h ${D}${includedir}/breakpad/client/linux/handler/minidump_descriptor.h | ||
30 | |||
31 | install -d ${D}${includedir}/breakpad/client/linux/minidump_writer | ||
32 | install -m 0644 ${S}/src/client/linux/minidump_writer/linux_dumper.h ${D}${includedir}/breakpad/client/linux/minidump_writer/linux_dumper.h | ||
33 | install -m 0644 ${S}/src/client/linux/minidump_writer/minidump_writer.h ${D}${includedir}/breakpad/client/linux/minidump_writer/minidump_writer.h | ||
34 | |||
35 | install -d ${D}${includedir}/breakpad/common | ||
36 | install -m 0644 ${S}/src/common/memory.h ${D}${includedir}/breakpad/common/memory.h | ||
37 | install -m 0644 ${S}/src/common/scoped_ptr.h ${D}${includedir}/breakpad/common/scoped_ptr.h | ||
38 | install -m 0644 ${S}/src/common/using_std_string.h ${D}${includedir}/breakpad/common/using_std_string.h | ||
39 | |||
40 | install -d ${D}${includedir}/breakpad/google_breakpad/common | ||
41 | install -m 0644 ${S}/src/google_breakpad/common/breakpad_types.h ${D}${includedir}/breakpad/google_breakpad/common/breakpad_types.h | ||
42 | install -m 0644 ${S}/src/google_breakpad/common/minidump_format.h ${D}${includedir}/breakpad/google_breakpad/common/minidump_format.h | ||
43 | install -m 0644 ${S}/src/google_breakpad/common/minidump_cpu_amd64.h ${D}${includedir}/breakpad/google_breakpad/common/minidump_cpu_amd64.h | ||
44 | install -m 0644 ${S}/src/google_breakpad/common/minidump_cpu_arm.h ${D}${includedir}/breakpad/google_breakpad/common/minidump_cpu_arm.h | ||
45 | install -m 0644 ${S}/src/google_breakpad/common/minidump_cpu_arm.h ${D}${includedir}/breakpad/google_breakpad/common/minidump_cpu_arm64.h | ||
46 | install -m 0644 ${S}/src/google_breakpad/common/minidump_cpu_mips.h ${D}${includedir}/breakpad/google_breakpad/common/minidump_cpu_mips.h | ||
47 | install -m 0644 ${S}/src/google_breakpad/common/minidump_cpu_ppc64.h ${D}${includedir}/breakpad/google_breakpad/common/minidump_cpu_ppc64.h | ||
48 | install -m 0644 ${S}/src/google_breakpad/common/minidump_cpu_ppc.h ${D}${includedir}/breakpad/google_breakpad/common/minidump_cpu_ppc.h | ||
49 | install -m 0644 ${S}/src/google_breakpad/common/minidump_cpu_sparc.h ${D}${includedir}/breakpad/google_breakpad/common/minidump_cpu_sparc.h | ||
50 | install -m 0644 ${S}/src/google_breakpad/common/minidump_cpu_x86.h ${D}${includedir}/breakpad/google_breakpad/common/minidump_cpu_x86.h | ||
51 | install -m 0644 ${S}/src/google_breakpad/common/minidump_exception_linux.h ${D}${includedir}/breakpad/google_breakpad/common/minidump_exception_linux.h | ||
52 | install -m 0644 ${S}/src/google_breakpad/common/minidump_exception_mac.h ${D}${includedir}/breakpad/google_breakpad/common/minidump_exception_mac.h | ||
53 | install -m 0644 ${S}/src/google_breakpad/common/minidump_exception_ps3.h ${D}${includedir}/breakpad/google_breakpad/common/minidump_exception_ps3.h | ||
54 | install -m 0644 ${S}/src/google_breakpad/common/minidump_exception_solaris.h ${D}${includedir}/breakpad/google_breakpad/common/minidump_exception_solaris.h | ||
55 | install -m 0644 ${S}/src/google_breakpad/common/minidump_exception_win32.h ${D}${includedir}/breakpad/google_breakpad/common/minidump_exception_win32.h | ||
56 | |||
57 | install -d ${D}${includedir}/breakpad/third_party/lss | ||
58 | install -m 0644 ${S}/src/third_party/lss/linux_syscall_support.h ${D}${includedir}/breakpad/third_party/lss/linux_syscall_support.h | ||
59 | } | ||
60 | |||
61 | PACKAGES =+ "${PN}-minidump-upload ${PN}-sym-upload" | ||
62 | |||
63 | FILES_${PN}-minidump-upload = "${bindir}/minidump_upload" | ||
64 | FILES_${PN}-sym-upload = "${bindir}/sym_upload" | ||
65 | |||
66 | |||
67 | SYSROOT_PREPROCESS_FUNCS += "breakpad_populate_sysroot" | ||
68 | breakpad_populate_sysroot() { | ||
69 | sysroot_stage_dir ${D}/usr/include ${SYSROOT_DESTDIR}/usr/include | ||
70 | sysroot_stage_dir ${D}/usr/lib ${SYSROOT_DESTDIR}/usr/lib | ||
71 | sysroot_stage_dir ${D}/usr/lib ${SYSROOT_DESTDIR}/usr/lib | ||
72 | } | ||
73 | |||