Remove -I. from CFLAGS, it isn't necessary. Removed $(AUTOSRCS), it isn't used.
Signed-off-by: Anthony PERARD <anthony.per...@citrix.com> Reviewed-by: Juergen Gross <jgr...@suse.com> Reviewed-by: Bertrand Marquis <bertrand.marq...@arm.com> --- 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