[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[XEN PATCH 14/57] tools/flask/utils: remove unused variables/targets from Makefile
- To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Anthony PERARD <anthony.perard@xxxxxxxxxx>
- Date: Mon, 6 Dec 2021 17:01:57 +0000
- Authentication-results: esa2.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
- Cc: Anthony PERARD <anthony.perard@xxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Daniel De Graaf <dgdegra@xxxxxxxxxxxxx>, "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>, Ian Jackson <iwj@xxxxxxxxxxxxxx>, Wei Liu <wl@xxxxxxx>
- Delivery-date: Mon, 06 Dec 2021 17:03:27 +0000
- Ironport-data: A9a23:KWF+IKpwVQiRakiB6bmxgvMxvEBeBmKFYhIvgKrLsJaIsI4StFCzt garIBnUaKvcYGr0fNh2adji9ENSvJGAn9RjSlQ/ripjQiwQo5uZCYyVIHmrMnLJJKUvbq7GA +byyDXkBJppJpMJjk71atANlZT4vE2xbuKU5NTsY0idfic5Dnd+4f5fs7Rh2Ncx24DnW1nlV e7a+KUzBnf0g1aYDUpMg06zgEsHUCPa4W5wUvQWPJinjXeG/5UnJMt3yZKZdhMUdrJ8DO+iL 9sv+Znilo/vE7XBPfv++lrzWhVirrc/pmFigFIOM0SpqkAqSiDfTs/XnRfTAKtao2zhojx/9 DlCnYCvTg0tOpTzo74UcTtYAR5xDK5DyqCSdBBTseTLp6HHW37lwvEoB0AqJ4wIvO1wBAmi9 9RBdmpLNErawbvrnvTrEYGAhex6RCXvFIoZpnFnyyCfFfs8SIrPa67L+cVZzHE7gcUm8fP2O ptCNmIyMEiojxtnI1c+Jssep82TnWT0bBxojnGnt5oe7D2GpOB2+Oe0a4eEEjCQfu1Zhl2dp 37G123hDwsGKceEzj6Y7nOrgPSJliT+MKoTC7+Q5vNsmEeUxGEYFFsRT1TTiea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4u8I=
- Ironport-hdrordr: A9a23:23baMa/0SjlEZ9hPreJuk+DeI+orL9Y04lQ7vn2YSXRuHfBw8P re+8jztCWE8Qr5N0tApTntAsS9qDbnhPxICOoqTNOftWvd2FdARbsKheCJ/9SjIVyaygc079 YHT0EUMrPN5DZB4foSmDPIcOod/A==
- Ironport-sdr: bwRPUq4fICmYJLpimF/3ueD5XfxVp4E3AL4hfpYkj4/UihUftKhHUC8AsKBaP4DAe0uvstUWOH 0UqN06As0HvWcRYdQFQZm0WCkK4mv5NcNdnSvIzV6boHkSjtGP7r4PxrwGbGj1TshW198t15v0 wVTk3gC+dig9LOTdJ7giNmgRtkmgh6sU1KSTzBxvgj6QazJ0TmaSFqe4M2JEl7gOUn6IvCtrzz mCSfCbi52c9p7YrujQqvA+qL+iCv+yLzyqVNGlQDBr+0JDVgLXnDUxF6HX0ZBB2asj2bbbZwcR sl4lf1kMP272OmqQV4rWbXYQ
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
They are no *.opic or *.so in this subdir, so no need to clean them.
The TEST* variables doesn't seems to be used anywhere, and they weren't
used by xen.git when introduced.
Both CLIENTS_* variables aren't used.
Both target "print-dir" and "print-end" only exist in this directory
and are probably not used anywhere.
Signed-off-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>
---
tools/flask/utils/Makefile | 16 +---------------
1 file changed, 1 insertion(+), 15 deletions(-)
diff --git a/tools/flask/utils/Makefile b/tools/flask/utils/Makefile
index ae87102144..5449f05b13 100644
--- a/tools/flask/utils/Makefile
+++ b/tools/flask/utils/Makefile
@@ -4,13 +4,7 @@ include $(XEN_ROOT)/tools/Rules.mk
CFLAGS += -Werror
CFLAGS += $(CFLAGS_libxenctrl)
-TESTDIR = testsuite/tmp
-TESTFLAGS= -DTESTING
-TESTENV = XENSTORED_ROOTDIR=$(TESTDIR) XENSTORED_RUNDIR=$(TESTDIR)
-
CLIENTS := flask-loadpolicy flask-setenforce flask-getenforce flask-label-pci
flask-get-bool flask-set-bool
-CLIENTS_SRCS := $(patsubst flask-%,%.c,$(CLIENTS))
-CLIENTS_OBJS := $(patsubst flask-%,%.o,$(CLIENTS))
.PHONY: all
all: $(CLIENTS)
@@ -35,21 +29,13 @@ flask-set-bool: set-bool.o
.PHONY: clean
clean:
- rm -f *.o *.opic *.so
+ rm -f *.o
rm -f $(CLIENTS)
$(RM) $(DEPS_RM)
.PHONY: distclean
distclean: clean
-.PHONY: print-dir
-print-dir:
- @echo -n tools/flask/utils:
-
-.PHONY: print-end
-print-end:
- @echo
-
.PHONY: install
install: all
$(INSTALL_DIR) $(DESTDIR)$(sbindir)
--
Anthony PERARD
|