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>
This commit is contained in:
Peter Korsgaard 2013-04-11 23:09:13 +02:00
parent e8fad4d95d
commit f4e6f4fef7

View File

@ -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))