mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-24 15:06:42 +00:00
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:
parent
582e89a5af
commit
1b48c9bd83
@ -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)'"
|
||||||
|
Loading…
Reference in New Issue
Block a user