[Buildroot] [PATCH v3 07/14] gdb: Remove /usr part from installation path of gdbserver

Romain Naour romain.naour at smile.fr
Tue Jul 4 15:08:28 UTC 2017


Hi Arnout,

Le 04/07/2017 à 16:03, Arnout Vandecappelle (Essensium/Mind) a écrit :
> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>

Reviewed-by: Romain Naour <romain.naour at smile.fr>

There are two other $(HOST_DIR)/usr in gdb.mk but I guess it will be done in a
follow up patch.

Best regards,
Romain

> ---
>  package/gdb/gdb.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk
> index 7036b4cb0f..9a97cb77a7 100644
> --- a/package/gdb/gdb.mk
> +++ b/package/gdb/gdb.mk
> @@ -181,7 +181,7 @@ GDB_POST_INSTALL_TARGET_HOOKS += GDB_REMOVE_UNNEEDED_FILES
>  # does.
>  define GDB_SDK_INSTALL_GDBSERVER
>  	$(INSTALL) -D -m 0755 $(TARGET_DIR)/usr/bin/gdbserver \
> -		$(HOST_DIR)/usr/$(GNU_TARGET_NAME)/debug-root/usr/bin/gdbserver
> +		$(HOST_DIR)/$(GNU_TARGET_NAME)/debug-root/usr/bin/gdbserver
>  endef
>  
>  ifeq ($(BR2_PACKAGE_GDB_SERVER),y)
> 




More information about the buildroot mailing list