From 59d8576e4ff7e6467fab3ea894baa72c8400e22a Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 5 Nov 2022 14:44:15 +0700 Subject: sim: build: add uninstall support This never worked before, but adding it to the common top-level dir is pretty easy to do now that we're unified. --- sim/erc32/local.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sim/erc32') diff --git a/sim/erc32/local.mk b/sim/erc32/local.mk index 3b858a6..36baeb9 100644 --- a/sim/erc32/local.mk +++ b/sim/erc32/local.mk @@ -23,3 +23,7 @@ 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) + +SIM_UNINSTALL_LOCAL_DEPS += sim-%D%-uninstall-local +sim-%D%-uninstall-local: + rm -f $(DESTDIR)$(bindir)/sis -- cgit v1.1