All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/4] kexec-lite: Depends on elfutils instead of libelf to get the libelf library
Date: Thu, 28 Aug 2014 12:06:07 +0200	[thread overview]
Message-ID: <20140828100607.GD4042@free.fr> (raw)
In-Reply-To: <1409219230-17443-4-git-send-email-gregory.clement@free-electrons.com>

Gregory, All,

On 2014-08-28 11:47 +0200, Gregory CLEMENT spake thusly:
> The elfutils package provides a more recent version of the libelf, so
> let's use it. It will allow to remove the libelf package and to avoid
> conflicts with two packages providing the same library.
> 
> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
> ---
>  package/kexec-lite/Config.in     | 2 +-
>  package/kexec-lite/kexec-lite.mk | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/package/kexec-lite/Config.in b/package/kexec-lite/Config.in
> index 944ee29..9fa9f4b 100644
> --- a/package/kexec-lite/Config.in
> +++ b/package/kexec-lite/Config.in
> @@ -2,7 +2,7 @@ config BR2_PACKAGE_KEXEC_LITE
>  	bool "kexec-lite"
>  	depends on BR2_powerpc || BR2_powerpc64
>  	depends on !BR2_PREFER_STATIC_LIB # dtc
> -	select BR2_PACKAGE_LIBELF
> +	select BR2_PACKAGE_ELFUTILS

Ditto, you must propagate dependencies (at least those that make sense)
from elfutils. For example, no need to propagate !avr32 or !bfin, since
they are implicit because kexec-lite already depends on PPC. Still, you
need wchar and largefiles.

Regards,
Yann E. MORIN.

>  	select BR2_PACKAGE_DTC
>  	select BR2_PACKAGE_DTC_PROGRAMS
>  	help
> diff --git a/package/kexec-lite/kexec-lite.mk b/package/kexec-lite/kexec-lite.mk
> index 7028c6e..7e3c8d3 100644
> --- a/package/kexec-lite/kexec-lite.mk
> +++ b/package/kexec-lite/kexec-lite.mk
> @@ -7,7 +7,7 @@
>  KEXEC_LITE_VERSION = fb8543fea3beb0522b5a63a74ea1a845dbd7b954
>  KEXEC_LITE_SITE = $(call github,antonblanchard,kexec-lite,$(KEXEC_LITE_VERSION))
>  KEXEC_LITE_LICENSE = GPLv2+
> -KEXEC_LITE_DEPENDENCIES = libelf dtc
> +KEXEC_LITE_DEPENDENCIES = elfutils dtc
>  
>  define KEXEC_LITE_BUILD_CMDS
>  	$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all
> -- 
> 1.9.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2014-08-28 10:06 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-28  9:47 [Buildroot] [PATCH 0/4] Use only elfutils package to provide the libelf library Gregory CLEMENT
2014-08-28  9:47 ` [Buildroot] [PATCH 1/4] ltrace: Removes the libelf dependency Gregory CLEMENT
2014-08-28  9:58   ` Yann E. MORIN
2014-08-28  9:47 ` [Buildroot] [PATCH 2/4] avrdude: Depend on elfutils instead of libelf to get the libel library Gregory CLEMENT
2014-08-28 10:02   ` Yann E. MORIN
2014-08-28 10:04     ` Gregory CLEMENT
2014-08-28  9:47 ` [Buildroot] [PATCH 3/4] kexec-lite: Depends on elfutils instead of libelf to get the libelf library Gregory CLEMENT
2014-08-28 10:06   ` Yann E. MORIN [this message]
2014-08-28  9:47 ` [Buildroot] [PATCH 4/4] libelf: Removes the package Gregory CLEMENT
2014-08-28 11:11   ` Thomas Petazzoni
2014-08-28 11:53     ` Gregory CLEMENT
2014-08-28  9:51 ` [Buildroot] [PATCH 0/4] Use only elfutils package to provide the libelf library Gregory CLEMENT
2014-08-28  9:53   ` Yann E. MORIN
2014-08-28 10:02 ` Gregory CLEMENT

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140828100607.GD4042@free.fr \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.