[PATCH kexec-tools 3/7] build: uninstall kexec_test

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



kexec_test is installed but not uninstalled.
Correct this oversight.

Signed-off-by: Simon Horman <horms@xxxxxxxxxxxx>
---
 Makefile.in | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Makefile.in b/Makefile.in
index dc7fb07..4fe1016 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -181,15 +181,19 @@ UNINSTALL_KDUMP = $(sbindir)/kdump
 UNINSTALL_KDUMP_MANPAGE = $(mandir)/man8/kdump.8
 UNINSTALL_KEXEC = $(sbindir)/kexec
 UNINSTALL_KEXEC_MANPAGE = $(mandir)/man8/kexec.8
+UNINSTALL_KEXEC_TEST = $(pkglibdir)/kexec_test
 UNINSTALL_VMCORE_DMESG = $(sbindir)/vmcore-dmesg
 UNINSTALL_VMCORE_DMESG_MANPAGE = $(mandir)/man8/vmcore-dmesg.8
 
 TARGETS:=$(BINARIES) $(MAN_PAGES)
 targets: $(TARGETS)
 
+UNINSTALL_TARGETS_i386:=$(UNINSTALL_KEXEC_TEST)
+UNINSTALL_TARGETS_x86_64:=$(UNINSTALL_KEXEC_TEST)
 UNINSTALL_TARGETS:=$(UNINSTALL_KDUMP) $(UNINSTALL_KDUMP_MANPAGE) \
 		   $(UNINSTALL_KEXEC) $(UNINSTALL_KEXEC_MANPAGE) \
-		   $(UNINSTALL_VMCORE_DMESG) $(UNINSTALL_VMCORE_DMESG_MANPAGE)
+		   $(UNINSTALL_VMCORE_DMESG) $(UNINSTALL_VMCORE_DMESG_MANPAGE) \
+		   $(UNINSTALL_TARGETS_$(ARCH))
 uninstall-targets: $(UNINSTALL_TARGETS)
 
 Makefile: Makefile.in config.status
-- 
2.20.1


_______________________________________________
kexec mailing list
kexec@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/kexec



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux