mirror of
https://git.yoctoproject.org/poky
synced 2026-03-06 15:29:40 +01:00
debugedit: add recipe
This recipe provides find-debuginfo which is used by rpm, more
specifically rpmbuild.
RPM upstream removed find-debuginfo and switched to use debugedit
in the following commit.
04b0805a75
Without debugedit, rpmbuild fails to generate debuginfo package when
%debug_package is added to spec file.
(From OE-Core rev: f7ada8b4d003473abce5b589cc38aec1e5e5f18a)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
28
meta/recipes-devtools/debugedit/debugedit_5.0.bb
Normal file
28
meta/recipes-devtools/debugedit/debugedit_5.0.bb
Normal file
@@ -0,0 +1,28 @@
|
||||
SUMMARY = "Tools for creating debuginfo and source file distributions"
|
||||
DESCRIPTION = "debugedit provides programs and scripts for creating \
|
||||
debuginfo and source file distributions, collect build-ids and rewrite \
|
||||
source paths in DWARF data for debugging, tracing and profiling."
|
||||
HOMEPAGE = "https://sourceware.org/debugedit/"
|
||||
|
||||
LICENSE = "GPL-2.0-only & GPL-3.0-only & LGPL-2.1-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
|
||||
file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \
|
||||
file://COPYING3;md5=d32239bcb673463ab874e80d47fae504"
|
||||
|
||||
SRC_URI = "https://sourceware.org/ftp/debugedit/${PV}/debugedit-${PV}.tar.xz"
|
||||
|
||||
SRC_URI:append:libc-musl = " \
|
||||
file://0001-tools-Add-error.h-for-non-glibc-case.patch \
|
||||
file://0002-sepdebugcrcfix.c-do-not-use-64bit-variants.patch \
|
||||
file://0003-Makefile.am-do-not-update-manual.patch \
|
||||
"
|
||||
|
||||
SRC_URI[sha256sum] = "e9ecd7d350bebae1f178ce6776ca19a648b6fe8fa22f5b3044b38d7899aa553e"
|
||||
|
||||
DEPENDS = "elfutils"
|
||||
|
||||
inherit pkgconfig autotools
|
||||
|
||||
RDEPENDS:${PN} += "bash elfutils-binutils"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
Reference in New Issue
Block a user