Message ID | 20220624160422.53457-14-anthony.perard@citrix.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | Toolstack build system improvement, toward non-recursive makefiles | expand |
On 24.06.22 18:04, Anthony PERARD wrote: > Remove -I. from CFLAGS, it isn't necessary. > > Removed $(AUTOSRCS), it isn't used. > > Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Reviewed-by: Juergen Gross <jgross@suse.com> Juergen
Hi Anthony, > On 24 Jun 2022, at 17:04, Anthony PERARD <anthony.perard@citrix.com> wrote: > > Remove -I. from CFLAGS, it isn't necessary. > > Removed $(AUTOSRCS), it isn't used. > > Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com> Cheers Bertrand > --- > tools/libs/util/Makefile | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/tools/libs/util/Makefile b/tools/libs/util/Makefile > index ffe507b379..493d2e00be 100644 > --- a/tools/libs/util/Makefile > +++ b/tools/libs/util/Makefile > @@ -11,7 +11,7 @@ OBJS-y += libxlu_pci.o > > CFLAGS += -Wno-format-zero-length -Wmissing-declarations \ > -Wno-declaration-after-statement -Wformat-nonliteral > -CFLAGS += -I. $(CFLAGS_libxenctrl) > +CFLAGS += $(CFLAGS_libxenctrl) > > CFLAGS += $(PTHREAD_CFLAGS) > LDFLAGS += $(PTHREAD_LDFLAGS) > @@ -29,7 +29,6 @@ ifeq ($(BISON),) > endif > > AUTOINCS = libxlu_cfg_y.h libxlu_cfg_l.h libxlu_disk_l.h > -AUTOSRCS = libxlu_cfg_y.c libxlu_cfg_l.c > > LIBHEADER := libxlutil.h > PKG_CONFIG_NAME := Xlutil > -- > Anthony PERARD > >
diff --git a/tools/libs/util/Makefile b/tools/libs/util/Makefile index ffe507b379..493d2e00be 100644 --- a/tools/libs/util/Makefile +++ b/tools/libs/util/Makefile @@ -11,7 +11,7 @@ OBJS-y += libxlu_pci.o CFLAGS += -Wno-format-zero-length -Wmissing-declarations \ -Wno-declaration-after-statement -Wformat-nonliteral -CFLAGS += -I. $(CFLAGS_libxenctrl) +CFLAGS += $(CFLAGS_libxenctrl) CFLAGS += $(PTHREAD_CFLAGS) LDFLAGS += $(PTHREAD_LDFLAGS) @@ -29,7 +29,6 @@ ifeq ($(BISON),) endif AUTOINCS = libxlu_cfg_y.h libxlu_cfg_l.h libxlu_disk_l.h -AUTOSRCS = libxlu_cfg_y.c libxlu_cfg_l.c LIBHEADER := libxlutil.h PKG_CONFIG_NAME := Xlutil
Remove -I. from CFLAGS, it isn't necessary. Removed $(AUTOSRCS), it isn't used. Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> --- tools/libs/util/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)