From: Jan Beulich Date: Tue, 9 Mar 2021 17:04:07 +0000 (+0100) Subject: libxl/ACPI: add missing build dependency X-Git-Tag: archive/raspbian/4.16.0+51-g0941d6cb-1+rpi1~2^2~42^2~828 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1b47cc852fd130ed9ce274a0f1600a4a62949a2c;p=xen.git libxl/ACPI: add missing build dependency Just like all other object files - wherever *.o is mentioned, *.opic also needs mentioning to yield consistent behavior. Otherwise make may decide to (re)build the object before recursion into $(ACPI_PATH)/ (to update $(DSDT_FILES-y) and ssdt_*.h) was actually finished. Signed-off-by: Jan Beulich Acked-by: Andrew Cooper Release-Acked-by: Ian Jackson --- diff --git a/tools/libs/light/Makefile b/tools/libs/light/Makefile index 216e2f55b0..7d8c51d492 100644 --- a/tools/libs/light/Makefile +++ b/tools/libs/light/Makefile @@ -32,7 +32,7 @@ ACPI_PATH = $(XEN_ROOT)/tools/libacpi DSDT_FILES-$(CONFIG_X86) = dsdt_pvh.c ACPI_OBJS = $(patsubst %.c,%.o,$(DSDT_FILES-y)) build.o static_tables.o ACPI_PIC_OBJS = $(patsubst %.o,%.opic,$(ACPI_OBJS)) -$(DSDT_FILES-y) build.o: acpi +$(DSDT_FILES-y) build.o build.opic: acpi vpath build.c $(ACPI_PATH)/ vpath static_tables.c $(ACPI_PATH)/