]> xenbits.xensource.com Git - xen.git/commitdiff
x86emul: fix test harness dependencies
authorJan Beulich <jbeulich@suse.com>
Thu, 6 Sep 2018 14:05:52 +0000 (16:05 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 6 Sep 2018 14:05:52 +0000 (16:05 +0200)
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 <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/tests/x86_emulator/Makefile

index 61956e59c6fa574d5b216bc06a5f78906d4e8f41..e8a3e9057e7324b796ca0f7b7f5055d5fa1ea505 100644 (file)
@@ -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 $@ $^