[Buildroot] [PATCH 1/1] package/elfutils: set program-prefix to default ("eu-")

Arnout Vandecappelle arnout at mind.be
Thu Aug 18 17:58:32 UTC 2016


On 18-08-16 12:17, Marcin Nowakowski wrote:
> Elfutils program names collide with binutils' binaries. By default
> applications provided by elfutils are prefixed with "eu-", but in
> Buildroot that setting is overridden by pkg-autotools.
> The option in pkg-autotools rules was added to avoid including a target
> triple in some packages as a prefix, so restore elfutils default
> behaviour by adding a "eu-" program-prefix.
> 
> Signed-off-by: Marcin Nowakowski <marcin.nowakowski at imgtec.com>

 I didn't test, but looks sane to me.

Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>

 Probably for -next though.

 A comment in the .mk file would have been nice, but myself, I generally consult
the log when in doubt so it's OK for me.

 Regards,
 Arnout

> ---
>  package/elfutils/elfutils.mk | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/package/elfutils/elfutils.mk b/package/elfutils/elfutils.mk
> index b999d0f..0aa11a6 100644
> --- a/package/elfutils/elfutils.mk
> +++ b/package/elfutils/elfutils.mk
> @@ -14,7 +14,9 @@ ELFUTILS_DEPENDENCIES = zlib
>  
>  # We patch configure.ac
>  ELFUTILS_AUTORECONF = YES
> -ELFUTILS_CONF_OPTS += --disable-werror
> +ELFUTILS_CONF_OPTS += \
> +	--disable-werror \
> +	--program-prefix="eu-"
>  
>  # elfutils gets confused when lfs mode is forced, so don't
>  ELFUTILS_CFLAGS = $(filter-out -D_FILE_OFFSET_BITS=64,$(TARGET_CFLAGS))
> 


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF



More information about the buildroot mailing list