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 <bryanhundven@gmail.com>
This commit is contained in:
Bryan Hundven 2015-11-19 14:30:20 -08:00
parent 582e89a5af
commit 1b48c9bd83

View File

@ -382,7 +382,7 @@ install-post:
#-------------------------------------- #--------------------------------------
# Uninstall rules # Uninstall rules
real-uninstall: $(patsubst %,uninstall-%,$(TARGETS)) real-uninstall: $(patsubst %,uninstall-%,$(filter-out lib-kconfig,$(TARGETS)))
uninstall-bin: uninstall-bin:
@echo " RM '$(DESTDIR)$(bindir)/$(PROG_NAME)'" @echo " RM '$(DESTDIR)$(bindir)/$(PROG_NAME)'"