From: Jan Beulich Date: Thu, 6 Sep 2018 14:05:52 +0000 (+0200) Subject: x86emul: fix test harness dependencies X-Git-Tag: archive/raspbian/4.14.0+80-gd101b417b7-1+rpi1^2~63^2~3317 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c1bace00de265bf34bdf6119d99888bbb57a4ef4;p=xen.git x86emul: fix test harness dependencies The generated header files are what needs to spell out dependencies on other (real) headers in the main Makefile here, not the intermediate (helper) .o files produced through testcase.mk. Signed-off-by: Jan Beulich Acked-by: Andrew Cooper --- diff --git a/tools/tests/x86_emulator/Makefile b/tools/tests/x86_emulator/Makefile index 61956e59c6..e8a3e9057e 100644 --- a/tools/tests/x86_emulator/Makefile +++ b/tools/tests/x86_emulator/Makefile @@ -109,9 +109,9 @@ $(addsuffix .c,$(FMA)): $(addsuffix .c,$(SG)): ln -sf simd-sg.c $@ -$(addsuffix .o,$(SIMD) $(FMA) $(SG)): simd.h +$(addsuffix .h,$(SIMD) $(FMA) $(SG)): simd.h -xop.o: simd-fma.c +xop.h: simd-fma.c $(TARGET): x86-emulate.o test_x86_emulator.o wrappers.o $(HOSTCC) $(HOSTCFLAGS) -o $@ $^