[Buildroot] [PATCH 4/5] gdb: add dependency on host-flex and host-bison for Git versions

Romain Naour romain.naour at gmail.com
Tue Jul 5 11:32:24 UTC 2016


Hi Thomas,

Le 05/07/2016 à 11:46, Thomas Petazzoni a écrit :
> gdb versions fetched from git (such as the ARC version) will not build
> with host-flex and host-bison.

I'm wondering why host-flex and host-bison was not already present in gdb
dependency when fetched from git.

Reviewed-by: Romain Naour <romain.naour at gmail.com>

Best regards,
Romain


> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
> ---
>  package/gdb/gdb.mk | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk
> index c9c6bd1..6d70955 100644
> --- a/package/gdb/gdb.mk
> +++ b/package/gdb/gdb.mk
> @@ -49,8 +49,8 @@ HOST_GDB_PRE_PATCH_HOOKS += GDB_XTENSA_PRE_PATCH
>  endif
>  
>  ifeq ($(GDB_FROM_GIT),y)
> -GDB_DEPENDENCIES += host-texinfo
> -HOST_GDB_DEPENDENCIES += host-texinfo
> +GDB_DEPENDENCIES += host-texinfo host-flex host-bison
> +HOST_GDB_DEPENDENCIES += host-texinfo host-flex host-bison
>  endif
>  
>  # When gdb sources are fetched from the binutils-gdb repository, they
> 



More information about the buildroot mailing list