summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/elfutils/elfutils_0.148.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/elfutils/elfutils_0.148.bb')
-rw-r--r--meta/recipes-devtools/elfutils/elfutils_0.148.bb6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-devtools/elfutils/elfutils_0.148.bb b/meta/recipes-devtools/elfutils/elfutils_0.148.bb
index a55b98d1e7..df933f61ae 100644
--- a/meta/recipes-devtools/elfutils/elfutils_0.148.bb
+++ b/meta/recipes-devtools/elfutils/elfutils_0.148.bb
@@ -28,8 +28,8 @@ SRC_URI += "\
28 file://elf_additions.diff \ 28 file://elf_additions.diff \
29 file://elfutils-fsize.patch \ 29 file://elfutils-fsize.patch \
30 file://remove-unused.patch \ 30 file://remove-unused.patch \
31 file://mempcpy.patch \
31" 32"
32
33# The buildsystem wants to generate 2 .h files from source using a binary it just built, 33# The buildsystem wants to generate 2 .h files from source using a binary it just built,
34# which can not pass the cross compiling, so let's work around it by adding 2 .h files 34# which can not pass the cross compiling, so let's work around it by adding 2 .h files
35# along with the do_configure_prepend() 35# along with the do_configure_prepend()
@@ -38,7 +38,6 @@ SRC_URI += "\
38 file://i386_dis.h \ 38 file://i386_dis.h \
39 file://x86_64_dis.h \ 39 file://x86_64_dis.h \
40" 40"
41
42inherit autotools 41inherit autotools
43 42
44EXTRA_OECONF = "--program-prefix=eu-" 43EXTRA_OECONF = "--program-prefix=eu-"
@@ -49,6 +48,9 @@ do_configure_prepend() {
49 cp ${WORKDIR}/*dis.h ${S}/libcpu 48 cp ${WORKDIR}/*dis.h ${S}/libcpu
50} 49}
51 50
51# Only append ldflags for target recipe
52TARGET_LDFLAGS_libc-uclibc += "${@['', '-lintl -luargp']['${PN}' == '${BPN}']}"
53
52BBCLASSEXTEND = "native nativesdk" 54BBCLASSEXTEND = "native nativesdk"
53 55
54# Package utilities separately 56# Package utilities separately