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

Re: [XEN PATCH v4 11/32] tools/flask/utils: list build targets in $(TARGETS)


  • To: Anthony PERARD <anthony.perard@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>
  • Date: Mon, 15 Aug 2022 07:31:42 -0400
  • Arc-authentication-results: i=1; mx.zohomail.com; dkim=pass header.i=apertussolutions.com; spf=pass smtp.mailfrom=dpsmith@xxxxxxxxxxxxxxxxxxxx; dmarc=pass header.from=<dpsmith@xxxxxxxxxxxxxxxxxxxx>
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1660563186; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=soCfa/IHePpPuZ2nlzbzb1s7QwWxzLT8lyTnUAFPN1w=; b=E/RpLTJGWNc0GqCC+ToIOsL6a4g/hU+aixz0yfqAw5XLsFXxyAfFJiLl6vZO4j4hnEyJm/DlZwodfoa3IDVNHk+zIeOscudzPwmSCXMV4IsivjUSMrMQDb9QJB3zRzcq15Eeb+CPozXX274iCcQ2UD04R9Y81nXGtIy1OejKzDY=
  • Arc-seal: i=1; a=rsa-sha256; t=1660563186; cv=none; d=zohomail.com; s=zohoarc; b=a2pVrLGVeiGWDPs13TpvQqBJ0Oe+WGErb72Nsnzn17fQEqnoeqeE/sdz/gdtAp68FAeSDmvLX+x/jTMnkQcM5cZ5xljXBlVR5dZvcgFvBSwfW60itCJ8uZuFg561fZQEZ1HvilEe59WR0wNSdCwjhraW35jXIa8y2O2qOqMBKcQ=
  • Cc: Henry Wang <Henry.Wang@xxxxxxx>, Wei Liu <wl@xxxxxxx>
  • Delivery-date: Mon, 15 Aug 2022 11:33:14 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 8/11/22 12:48, Anthony PERARD wrote:
Signed-off-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>
Reviewed-by: Henry Wang <Henry.Wang@xxxxxxx>
---
  tools/flask/utils/Makefile | 10 +++++-----
  1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/tools/flask/utils/Makefile b/tools/flask/utils/Makefile
index db567b13dc..6be134142a 100644
--- a/tools/flask/utils/Makefile
+++ b/tools/flask/utils/Makefile
@@ -4,10 +4,10 @@ include $(XEN_ROOT)/tools/Rules.mk
  CFLAGS += -Werror
  CFLAGS += $(CFLAGS_libxenctrl)
-CLIENTS := flask-loadpolicy flask-setenforce flask-getenforce flask-label-pci flask-get-bool flask-set-bool
+TARGETS := flask-loadpolicy flask-setenforce flask-getenforce flask-label-pci 
flask-get-bool flask-set-bool
.PHONY: all
-all: $(CLIENTS)
+all: $(TARGETS)
flask-loadpolicy: loadpolicy.o
        $(CC) $(LDFLAGS) $< $(LDLIBS) $(LDLIBS_libxenctrl) -o $@
@@ -29,7 +29,7 @@ flask-set-bool: set-bool.o
.PHONY: clean
  clean:
-       $(RM) *.o $(CLIENTS) $(DEPS_RM)
+       $(RM) *.o $(TARGETS) $(DEPS_RM)
.PHONY: distclean
  distclean: clean
@@ -37,10 +37,10 @@ distclean: clean
  .PHONY: install
  install: all
        $(INSTALL_DIR) $(DESTDIR)$(sbindir)
-       $(INSTALL_PROG) $(CLIENTS) $(DESTDIR)$(sbindir)
+       $(INSTALL_PROG) $(TARGETS) $(DESTDIR)$(sbindir)
.PHONY: uninstall
  uninstall:
-       rm -f $(addprefix $(DESTDIR)$(sbindir)/, $(CLIENTS))
+       rm -f $(addprefix $(DESTDIR)$(sbindir)/, $(TARGETS))
-include $(DEPS_INCLUDE)

Acked-by: Daniel P. Smith <dpsmith@xxxxxxxxxxxxxxxxxxxx>



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.