aboutsummaryrefslogtreecommitdiff
path: root/sim/erc32/local.mk
diff options
context:
space:
mode:
Diffstat (limited to 'sim/erc32/local.mk')
-rw-r--r--sim/erc32/local.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/sim/erc32/local.mk b/sim/erc32/local.mk
index cf88a71..3b858a6 100644
--- a/sim/erc32/local.mk
+++ b/sim/erc32/local.mk
@@ -17,3 +17,9 @@
%C%docdir = $(docdir)/%C%
%C%doc_DATA = %D%/README.erc32 %D%/README.gdb %D%/README.sis
+
+SIM_INSTALL_EXEC_LOCAL_DEPS += sim-%D-install-exec-local
+sim-%D-install-exec-local: installdirs
+ $(AM_V_at)$(MKDIR_P) $(DESTDIR)$(bindir)
+ n=`echo sis | sed '$(program_transform_name)'`; \
+ $(INSTALL_PROGRAM) %D%/sis$(EXEEXT) $(DESTDIR)$(bindir)/$$n$(EXEEXT)