From 927595086615da94c52b164049a45ebf6e299623 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Tue, 14 Mar 2017 15:25:09 +0100 Subject: [PATCH] Install gcov-dump. 2017-03-14 Martin Liska * Makefile.in: Install gcov-dump. From-SVN: r246125 --- gcc/ChangeLog | 4 ++++ gcc/Makefile.in | 10 ++++++++++ 2 files changed, 14 insertions(+) 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. -- 2.30.2