[xen master] x86emul: fix test harness dependencies

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[xen master] x86emul: fix test harness dependencies

patchbot
commit c1bace00de265bf34bdf6119d99888bbb57a4ef4
Author:     Jan Beulich <[hidden email]>
AuthorDate: Thu Sep 6 16:05:52 2018 +0200
Commit:     Jan Beulich <[hidden email]>
CommitDate: Thu Sep 6 16:05:52 2018 +0200

    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 <[hidden email]>
    Acked-by: Andrew Cooper <[hidden email]>
---
 tools/tests/x86_emulator/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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 $@ $^
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
[hidden email]
https://lists.xenproject.org/xen-changelog