diff options
Diffstat (limited to 'meta-oe/classes/breakpad.bbclass')
-rw-r--r-- | meta-oe/classes/breakpad.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-oe/classes/breakpad.bbclass b/meta-oe/classes/breakpad.bbclass index 36f11ff48..cebe559a7 100644 --- a/meta-oe/classes/breakpad.bbclass +++ b/meta-oe/classes/breakpad.bbclass | |||
@@ -25,6 +25,9 @@ PACKAGE_PREPROCESS_FUNCS += "breakpad_package_preprocess" | |||
25 | breakpad_package_preprocess () { | 25 | breakpad_package_preprocess () { |
26 | mkdir -p ${PKGD}/usr/share/breakpad-syms | 26 | mkdir -p ${PKGD}/usr/share/breakpad-syms |
27 | find ${D} -name ${BREAKPAD_BIN} -exec sh -c "dump_syms {} > ${PKGD}/usr/share/breakpad-syms/${BREAKPAD_BIN}.sym" \; | 27 | find ${D} -name ${BREAKPAD_BIN} -exec sh -c "dump_syms {} > ${PKGD}/usr/share/breakpad-syms/${BREAKPAD_BIN}.sym" \; |
28 | HASH=$(head -n1 ${PKGD}/usr/share/breakpad-syms/${BREAKPAD_BIN}.sym | rev | cut -d ' ' -f2 | rev) | ||
29 | mkdir -p ${PKGD}/usr/share/breakpad-syms/${BREAKPAD_BIN}/${HASH} | ||
30 | mv ${PKGD}/usr/share/breakpad-syms/${BREAKPAD_BIN}.sym ${PKGD}/usr/share/breakpad-syms/${BREAKPAD_BIN}/${HASH} | ||
28 | } | 31 | } |
29 | 32 | ||
30 | PACKAGES =+ "${PN}-breakpad" | 33 | PACKAGES =+ "${PN}-breakpad" |