From 1b48c9bd83852894895dd3073a629a3221344f45 Mon Sep 17 00:00:00 2001 From: Bryan Hundven Date: Thu, 19 Nov 2015 14:30:20 -0800 Subject: [PATCH] Makefile.in: Fix uninstall target `make uninstall` is ran against `$(TARGETS)`, which includes `lib-kconfig`. `lib-kconfig` is installed as a part of the `lib` target, so during uninstall, removing `lib` is enough to also remove `lib-kconfig`. Filter out `lib-kconfig` during `real-uninstall`. Signed-off-by: Bryan Hundven --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 59d8e54c..3df6597a 100644 --- a/Makefile.in +++ b/Makefile.in @@ -382,7 +382,7 @@ install-post: #-------------------------------------- # Uninstall rules -real-uninstall: $(patsubst %,uninstall-%,$(TARGETS)) +real-uninstall: $(patsubst %,uninstall-%,$(filter-out lib-kconfig,$(TARGETS))) uninstall-bin: @echo " RM '$(DESTDIR)$(bindir)/$(PROG_NAME)'"