gdb: Remove /usr part from installation path of gdbserver
authorArnout Vandecappelle <arnout@mind.be>
Tue, 4 Jul 2017 14:03:57 +0000 (16:03 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 5 Jul 2017 09:46:41 +0000 (11:46 +0200)
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gdb/gdb.mk

index 7036b4cb0f6a68470be9812ff0cea1c851467e56..9a97cb77a7341bdace978f161451d6fb57a4ce6d 100644 (file)
@@ -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)