aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2013-04-11 23:09:13 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2013-04-11 23:09:13 +0200
commitf4e6f4fef777bff7635939ed4de61e45733a3e6e (patch)
treeb5fab5a1df666832321304066a3188d6c0518964
parente8fad4d95d65e11ddb8a40bf9396f0da140c0269 (diff)
downloadbuildroot-novena-f4e6f4fef777bff7635939ed4de61e45733a3e6e.tar.gz
buildroot-novena-f4e6f4fef777bff7635939ed4de61e45733a3e6e.zip
gdb: add back $ARCH-linux-gdb symlink for host-gdb
Like we do for the toolchain and we used to to do for gdb. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/gdb/gdb.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk
index cec64d5c8..73ff7a465 100644
--- a/package/gdb/gdb.mk
+++ b/package/gdb/gdb.mk
@@ -111,5 +111,13 @@ HOST_GDB_CONF_OPT = \
--without-included-gettext \
--disable-sim
+# legacy $arch-linux-gdb symlink
+define HOST_GDB_ADD_SYMLINK
+ cd $(HOST_DIR)/usr/bin && \
+ ln -snf $(GNU_TARGET_NAME)-gdb $(ARCH)-linux-gdb
+endef
+
+HOST_GDB_POST_INSTALL_HOOKS += HOST_GDB_ADD_SYMLINK
+
$(eval $(autotools-package))
$(eval $(host-autotools-package))