aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-11-05 14:35:00 +0700
committerMike Frysinger <vapier@gentoo.org>2022-11-05 16:26:08 +0700
commit63bf33ff90b1bf1e2278259648173bfebaac2e9c (patch)
treea5844e430999ddf4bc12c61da51a9afafb5ec843 /sim/ppc
parentcb9bdc02fdf1650341276861f6ca7e7a215a1ce6 (diff)
downloadgdb-63bf33ff90b1bf1e2278259648173bfebaac2e9c.zip
gdb-63bf33ff90b1bf1e2278259648173bfebaac2e9c.tar.gz
gdb-63bf33ff90b1bf1e2278259648173bfebaac2e9c.tar.bz2
sim: build: move install steps to the top-level
We still have to maintain custom install rules due to how we rename arch-specific files with an arch prefix in their name, but we can at least unify the logic in the common dir.
Diffstat (limited to 'sim/ppc')
-rw-r--r--sim/ppc/Makefile.in15
1 files changed, 1 insertions, 14 deletions
diff --git a/sim/ppc/Makefile.in b/sim/ppc/Makefile.in
index 72dc479..4fe4fd9 100644
--- a/sim/ppc/Makefile.in
+++ b/sim/ppc/Makefile.in
@@ -843,18 +843,5 @@ pdf:
clean-pdf:
install-pdf:
-install: installdirs
- a=`basename "$$(pwd)"`; \
- n=`echo run | sed '$(program_transform_name)'`; \
- [ "$(SIM_PRIMARY_TARGET)" = "$$a" ] || n="$$n-$$a"; \
- $(INSTALL_PROGRAM) run$(EXEEXT) $(DESTDIR)$(bindir)/$$n$(EXEEXT)
-
-install-strip: installdirs
- a=`basename "$$(pwd)"`; \
- n=`echo run | sed '$(program_transform_name)'`; \
- [ "$(SIM_PRIMARY_TARGET)" = "$$a" ] || n="$$n-$$a"; \
- $(INSTALL_PROGRAM) run$(EXEEXT) $(DESTDIR)$(bindir)/$$n$(EXEEXT)
- $(STRIP) $(DESTDIR)$(bindir)/$$n$(EXEEXT)
-
+install:
installdirs:
- $(SHELL) $(srcdir)/../../mkinstalldirs $(DESTDIR)$(bindir)