aboutsummaryrefslogtreecommitdiff
path: root/sim/Makefile.in
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2019-12-18 08:50:57 -0700
committerTom Tromey <tromey@adacore.com>2019-12-19 11:28:53 -0700
commit78aa740b768e1e62f8bf9d216901245c452a31d9 (patch)
treed1dd2287b6a9cd4d653d36228bd5eaa9fd084e8f /sim/Makefile.in
parent2032eb7e934e65ab071f2a6ee8ce92327715d01d (diff)
downloadgdb-78aa740b768e1e62f8bf9d216901245c452a31d9.zip
gdb-78aa740b768e1e62f8bf9d216901245c452a31d9.tar.gz
gdb-78aa740b768e1e62f8bf9d216901245c452a31d9.tar.bz2
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
Diffstat (limited to 'sim/Makefile.in')
-rw-r--r--sim/Makefile.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/sim/Makefile.in b/sim/Makefile.in
index 5a953fd..3a85eeb 100644
--- a/sim/Makefile.in
+++ b/sim/Makefile.in
@@ -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.