summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/elfutils/elfutils_0.148.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-08-29 22:27:22 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-02 05:52:10 -0700
commit831b204e7501d7a7dd1d6945bfe118c95ce7d88d (patch)
tree549fc93aaac478b1fd28bad5fade0ac7f3d8baaa /meta/recipes-devtools/elfutils/elfutils_0.148.bb
parent5b8e46dbd01c13d156485ffb079f5917fed0b989 (diff)
downloadpoky-831b204e7501d7a7dd1d6945bfe118c95ce7d88d.tar.gz
elfutils: Fix build on uclibc
It depends on libintl so add virtual/libintl to DEPENDS simplify the overridden statements (From OE-Core rev: eb44d03dfe37673de92cda6ee66f77ee6b399254) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/elfutils/elfutils_0.148.bb')
-rw-r--r--meta/recipes-devtools/elfutils/elfutils_0.148.bb8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-devtools/elfutils/elfutils_0.148.bb b/meta/recipes-devtools/elfutils/elfutils_0.148.bb
index 90bc3081ab..5d45f3a8d2 100644
--- a/meta/recipes-devtools/elfutils/elfutils_0.148.bb
+++ b/meta/recipes-devtools/elfutils/elfutils_0.148.bb
@@ -4,9 +4,9 @@ SECTION = "base"
4LICENSE = "(GPL-2+ & Elfutils-Exception)" 4LICENSE = "(GPL-2+ & Elfutils-Exception)"
5LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3\ 5LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3\
6 file://EXCEPTION;md5=570adcb0c1218ab57f2249c67d0ce417" 6 file://EXCEPTION;md5=570adcb0c1218ab57f2249c67d0ce417"
7DEPENDS = "libtool bzip2 zlib" 7DEPENDS = "libtool bzip2 zlib virtual/libintl"
8 8
9PR = "r8" 9PR = "r9"
10 10
11SRC_URI = "https://fedorahosted.org/releases/e/l/elfutils/elfutils-${PV}.tar.bz2" 11SRC_URI = "https://fedorahosted.org/releases/e/l/elfutils/elfutils-${PV}.tar.bz2"
12 12
@@ -33,7 +33,7 @@ SRC_URI += "\
33 file://dso-link-change.patch \ 33 file://dso-link-change.patch \
34" 34"
35# Only apply when building uclibc based target recipe 35# Only apply when building uclibc based target recipe
36SRC_URI_append_libc-uclibc = " ${@['', 'file://uclibc-support.patch']['${PN}' == '${BPN}']}" 36SRC_URI_append_libc-uclibc = " file://uclibc-support.patch"
37 37
38# The buildsystem wants to generate 2 .h files from source using a binary it just built, 38# The buildsystem wants to generate 2 .h files from source using a binary it just built,
39# which can not pass the cross compiling, so let's work around it by adding 2 .h files 39# which can not pass the cross compiling, so let's work around it by adding 2 .h files
@@ -47,7 +47,7 @@ inherit autotools gettext
47 47
48EXTRA_OECONF = "--program-prefix=eu- --without-lzma" 48EXTRA_OECONF = "--program-prefix=eu- --without-lzma"
49EXTRA_OECONF_append_virtclass-native = " --without-bzlib" 49EXTRA_OECONF_append_virtclass-native = " --without-bzlib"
50EXTRA_OECONF_append_libc-uclibc = " ${@['', '--enable-uclibc']['${PN}' == '${BPN}']}" 50EXTRA_OECONF_append_libc-uclibc = " --enable-uclibc"
51 51
52do_configure_prepend() { 52do_configure_prepend() {
53 sed -i 's:./i386_gendis:echo\ \#:g' ${S}/libcpu/Makefile.am 53 sed -i 's:./i386_gendis:echo\ \#:g' ${S}/libcpu/Makefile.am