Message ID | 20220811164845.38083-12-anthony.perard@citrix.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | Toolstack build system improvement, toward non-recursive makefiles | expand |
On 8/11/22 12:48, Anthony PERARD wrote: > Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> > Reviewed-by: Henry Wang <Henry.Wang@arm.com> > --- > 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@apertussolutions.com>
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)