aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/elfutils/elfutils_0.143.bb
blob: 0827b6f971997367fe2d7a04e93eb8bbe1b1fc21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DESCRIPTION = "A collection of utilities and DSOs to handle compiled objects."
SECTION = "base"
LICENSE = "OSL"
DEPENDS = "libtool"

inherit autotools

SRC_URI = "https://fedorahosted.org/releases/e/l/elfutils/elfutils-${PV}.tar.bz2 \
           http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.143-1.diff.gz;patch=1 \
           file://i386_dis.h \
           file://x86_64_dis.h \
"

# The buildsystem wants to generate 2 .h files from source using a binary it just built, let's work around that

do_configure_prepend() {
    sed -i 's:./i386_gendis:echo\ \#:g' ${S}/libcpu/Makefile.am

    cp ${WORKDIR}/*dis.h ${S}/libcpu
}