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 <jbeul...@suse.com>

--- 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 $@ $^



_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to