Add install-strip to sim/

PR build/24572 notes that "make install-strip" fails.  For me, it
works in every directory except "sim", so this patch adds
install-strip targets to the Makefiles that appear there.

sim/ChangeLog
2019-12-19  Tom Tromey  <tromey@adacore.com>

	PR build/24572:
	* Makefile.in (install-strip): New target.

sim/common/ChangeLog
2019-12-19  Tom Tromey  <tromey@adacore.com>

	PR build/24572:
	* Makefile.in (install-strip): New target.

sim/igen/ChangeLog
2019-12-19  Tom Tromey  <tromey@adacore.com>

	PR build/24572:
	* Makefile.in (install-strip): New target.

sim/ppc/ChangeLog
2019-12-19  Tom Tromey  <tromey@adacore.com>

	PR build/24572:
	* Makefile.in (install-strip): New target.

sim/testsuite/ChangeLog
2019-12-19  Tom Tromey  <tromey@adacore.com>

	PR build/24572:
	* Makefile.in (install-strip): New target.

Change-Id: I76613bc5c7e7812284f33826f8a5d914477fcdc5
This commit is contained in:
Tom Tromey 2019-12-18 08:50:57 -07:00
parent 2032eb7e93
commit 78aa740b76
10 changed files with 43 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2019-12-19 Tom Tromey <tromey@adacore.com>
PR build/24572:
* Makefile.in (install-strip): New target.
2019-09-23 Dimitar Dimitrov <dimitar@dinux.eu>
* MAINTAINERS: Add myself as PRU maintainer.

View File

@ -166,6 +166,16 @@ install:
else true; fi; \
done
install-strip:
@rootme=`pwd` ; export rootme ; \
for dir in . ${SUBDIRS}; do \
if [ "$$dir" = "." ]; then \
true; \
elif [ -d $$dir ]; then \
(cd $$dir; $(MAKE) $(FLAGS_TO_PASS) install-strip) || exit 1; \
else true; fi; \
done
installcheck:
@echo No installcheck target is available yet for the GNU simulators.

View File

@ -1,3 +1,8 @@
2019-12-19 Tom Tromey <tromey@adacore.com>
PR build/24572:
* Makefile.in (install-strip): New target.
2019-12-01 Pavel I. Kryukov <kryukov@frtk.ru>
* sim-utils.c: Prevent buffer overflow.

View File

@ -115,6 +115,7 @@ force:
# Copy the files into directories where they will be run.
install: install-man
install-strip: install-man
install-man: installdirs
n=`echo run | sed '$(program_transform_name)'`; \

View File

@ -1,3 +1,8 @@
2019-12-19 Tom Tromey <tromey@adacore.com>
PR build/24572:
* Makefile.in (install-strip): New target.
2016-01-10 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.

View File

@ -183,4 +183,5 @@ config.status: configure
$(SHELL) ./config.status --recheck
install:
install-strip:
#

View File

@ -1,3 +1,8 @@
2019-12-19 Tom Tromey <tromey@adacore.com>
PR build/24572:
* Makefile.in (install-strip): New target.
2019-01-26 Tom Tromey <tom@tromey.com>
* Makefile.in (version.c): Use sim's create-version.sh.

View File

@ -884,5 +884,10 @@ install: installdirs
n=`echo run | sed '$(program_transform_name)'`; \
$(INSTALL_PROGRAM) run$(EXEEXT) $(DESTDIR)$(bindir)/$$n$(EXEEXT)
install-strip: installdirs
n=`echo run | sed '$(program_transform_name)'`; \
$(INSTALL_PROGRAM) run$(EXEEXT) $(DESTDIR)$(bindir)/$$n$(EXEEXT)
$(STRIP) $(DESTDIR)$(bindir)/$$n$(EXEEXT)
installdirs:
$(SHELL) $(srcdir)/../../mkinstalldirs $(DESTDIR)$(bindir)

View File

@ -1,3 +1,8 @@
2019-12-19 Tom Tromey <tromey@adacore.com>
PR build/24572:
* Makefile.in (install-strip): New target.
2019-09-23 Dimitar Dimitrov <dimitar@dinux.eu>
* configure: Regenerate.

View File

@ -81,6 +81,7 @@ install-info:
dvi:
install:
install-strip:
uninstall: force