[Buildroot] [PATCH] gdb: move version selection from gdb.mk to Config.in.host

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Feb 3 21:32:32 UTC 2014


Dear Arnout Vandecappelle (Essensium/Mind),

On Wed, 29 Jan 2014 22:44:41 +0100, Arnout Vandecappelle
(Essensium/Mind) wrote:
> This avoids duplication of the version selection between these two files.
> 
> Cc: Spenser Gilliland <spenser at gillilanding.com>
> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
> ---
> Warning: I have not really tested this!
> 
> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
> ---
>  package/gdb/Config.in.host | 14 +++++++++-----
>  package/gdb/gdb.mk         | 14 --------------
>  2 files changed, 9 insertions(+), 19 deletions(-)

Acked-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>

I haven't actually built this, but I've done some testing by looking at
the .config file, and it indeed contains a proper BR2_GDB_VERSION value
even when a cross-gdb is not being built. Therefore, I'm fairly
confident that this patch is OK to be applied.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list