[PATCH kexec-tools 3/7] build: uninstall kexec_test
Simon Horman
horms at verge.net.au
Fri Apr 2 11:17:33 BST 2021
kexec_test is installed but not uninstalled.
Correct this oversight.
Signed-off-by: Simon Horman <horms at verge.net.au>
---
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
More information about the kexec
mailing list