diff options
| author | Bryan Hundven <bryanhundven@gmail.com> | 2015-11-19 14:30:20 -0800 |
|---|---|---|
| committer | Bryan Hundven <bryanhundven@gmail.com> | 2015-11-19 14:30:20 -0800 |
| commit | 1b48c9bd83852894895dd3073a629a3221344f45 (patch) | |
| tree | 2662a884210c340fc57d1d44204c0a0049dd5764 | |
| parent | 582e89a5af4be77d3cd300596ea7a46491689e51 (diff) | |
| download | crosstool-ng-1b48c9bd83852894895dd3073a629a3221344f45.tar.gz crosstool-ng-1b48c9bd83852894895dd3073a629a3221344f45.tar.bz2 crosstool-ng-1b48c9bd83852894895dd3073a629a3221344f45.zip | |
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>
| -rw-r--r-- | Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
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)'" |
