From: Martin Liska Date: Tue, 14 Mar 2017 14:25:09 +0000 (+0100) Subject: Install gcov-dump. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=927595086615da94c52b164049a45ebf6e299623;p=gcc.git Install gcov-dump. 2017-03-14 Martin Liska * Makefile.in: Install gcov-dump. From-SVN: r246125 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 056609c95ff..d53d070f55b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2017-03-14 Martin Liska + + * Makefile.in: Install gcov-dump. + 2017-03-14 Martin Liska * multiple_target.c (expand_target_clones): Bail out for diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 8648d681fec..1ba0475c893 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -806,6 +806,7 @@ GCC_TARGET_INSTALL_NAME := $(target_noncanonical)-$(shell echo gcc|sed '$(progra CPP_INSTALL_NAME := $(shell echo cpp|sed '$(program_transform_name)') GCOV_INSTALL_NAME := $(shell echo gcov|sed '$(program_transform_name)') GCOV_TOOL_INSTALL_NAME := $(shell echo gcov-tool|sed '$(program_transform_name)') +GCOV_DUMP_INSTALL_NAME := $(shell echo gcov-dump|sed '$(program_transform_name)') # Setup the testing framework, if you have one EXPECT = `if [ -f $${rootme}/../expect/expect ] ; then \ @@ -3519,6 +3520,15 @@ install-common: native lang.install-common installdirs gcov-tool$(exeext) $(DESTDIR)$(bindir)/$(GCOV_TOOL_INSTALL_NAME)$(exeext); \ fi; \ fi +# Install gcov-dump if it was compiled. + -if test "$(enable_as_accelerator)" != "yes" ; then \ + if [ -f gcov-dump$(exeext) ]; \ + then \ + rm -f $(DESTDIR)$(bindir)/$(GCOV_DUMP_INSTALL_NAME)$(exeext); \ + $(INSTALL_PROGRAM) \ + gcov-dump$(exeext) $(DESTDIR)$(bindir)/$(GCOV_DUMP_INSTALL_NAME)$(exeext); \ + fi; \ + fi # Install the driver program as $(target_noncanonical)-gcc, # $(target_noncanonical)-gcc-$(version), and also as gcc if native.