Patchwork [1/1] elfutils: disable lzma (and bzip2 for native)

login
register
mail settings
Submitter Paul Eggleton
Date April 3, 2012, 1:44 p.m.
Message ID <f0dc600fd3f7638b0cd378f3fbdc4bc47da5aab9.1333460617.git.paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/25103/
State Accepted
Commit 1634d736c55f767fe82a46bbb7f83c32006fece9
Headers show

Comments

Paul Eggleton - April 3, 2012, 1:44 p.m.
Fix some library dependency issues:
* Disable lzma as xz-native is unstated in DEPENDS
* Disable bzip2 for native as it is in ASSUME_PROVIDED and thus isn't
  available when elfutils-native is normally built, but if it gets
  rebuilt the link will be made; plus we don't need it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta/recipes-devtools/elfutils/elfutils_0.148.bb |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
Richard Purdie - April 3, 2012, 8:38 p.m.
On Tue, 2012-04-03 at 14:44 +0100, Paul Eggleton wrote:
> Fix some library dependency issues:
> * Disable lzma as xz-native is unstated in DEPENDS
> * Disable bzip2 for native as it is in ASSUME_PROVIDED and thus isn't
>   available when elfutils-native is normally built, but if it gets
>   rebuilt the link will be made; plus we don't need it.
> 
> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
> ---
>  meta/recipes-devtools/elfutils/elfutils_0.148.bb |    5 +++--
>  1 files changed, 3 insertions(+), 2 deletions(-)

Merged to master, thanks.

Richard

Patch

diff --git a/meta/recipes-devtools/elfutils/elfutils_0.148.bb b/meta/recipes-devtools/elfutils/elfutils_0.148.bb
index dca89b1..225627b 100644
--- a/meta/recipes-devtools/elfutils/elfutils_0.148.bb
+++ b/meta/recipes-devtools/elfutils/elfutils_0.148.bb
@@ -6,7 +6,7 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3\
                     file://EXCEPTION;md5=570adcb0c1218ab57f2249c67d0ce417"
 DEPENDS = "libtool bzip2 zlib"
 
-PR = "r6"
+PR = "r7"
 
 SRC_URI = "https://fedorahosted.org/releases/e/l/elfutils/elfutils-${PV}.tar.bz2"
 
@@ -45,7 +45,8 @@  SRC_URI += "\
 "
 inherit autotools gettext
 
-EXTRA_OECONF = "--program-prefix=eu-"
+EXTRA_OECONF = "--program-prefix=eu- --without-lzma"
+EXTRA_OECONF_append_virtclass-native = " --without-bzlib"
 EXTRA_OECONF_append_libc-uclibc = " ${@['', '--enable-uclibc']['${PN}' == '${BPN}']}"
 
 do_configure_prepend() {