From c779cf076b663b2434c6b27ff391c346558e1e77 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 1 Jun 2012 18:02:03 +0100 Subject: [PATCH] libxl: fix Makefile race bug relating to _paths.h _paths.h needs to be in AUTOINCS. That arranges for it to be an explicit dependency of all object files. This is necessary so that it is made before any compilation is attempted. Making it a dependency of xl.h (as in 25426:e53a1d3c212c) is harmless, but not sufficient because that only takes effect if there is already an autogenerated .d file naming xl.h as a dependency of relevant object files. Signed-off-by: Ian Jackson Acked-by: Ian Campbell Committed-by: Ian Jackson --- tools/libxl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/Makefile b/tools/libxl/Makefile index 8f78c05df2..e7d5cc2638 100644 --- a/tools/libxl/Makefile +++ b/tools/libxl/Makefile @@ -72,7 +72,7 @@ LIBXL_OBJS += _libxl_types.o libxl_flask.o _libxl_types_internal.o $(LIBXL_OBJS): CFLAGS += $(CFLAGS_libxenctrl) $(CFLAGS_libxenguest) $(CFLAGS_libxenstore) $(CFLAGS_libblktapctl) -include $(XEN_ROOT)/tools/config.h -AUTOINCS= libxlu_cfg_y.h libxlu_cfg_l.h _libxl_list.h +AUTOINCS= libxlu_cfg_y.h libxlu_cfg_l.h _libxl_list.h _paths.h AUTOSRCS= libxlu_cfg_y.c libxlu_cfg_l.c LIBXLU_OBJS = libxlu_cfg_y.o libxlu_cfg_l.o libxlu_cfg.o \ libxlu_disk_l.o libxlu_disk.o libxlu_vif.o libxlu_pci.o -- 2.30.2