]> xenbits.xensource.com Git - xen.git/commitdiff
fuzz: wrappers.c depends on x86_emulate.h
authorOlaf Hering <olaf@aepfle.de>
Thu, 29 Mar 2018 15:30:06 +0000 (17:30 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 29 Mar 2018 15:30:06 +0000 (17:30 +0200)
In my automated SLE_11 builds I often see failures like that:

[   74s] wrappers.c:5:25: error: x86-emulate.h: No such file or directory
[   74s] make[6]: *** [wrappers.o] Error 1

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Move line to where it belongs.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
tools/fuzz/x86_instruction_emulator/Makefile

index df04d09252d15f8d7c3c8ee23aa5abde6e4ae854..fbbb70bbfc02b2d55f3dfea2e44f3efaec9b568a 100644 (file)
@@ -33,7 +33,7 @@ x86_emulate.h := x86-emulate.h x86_emulate/x86_emulate.h $(x86.h)
 # x86-emulate.c will be implicit for both
 x86-emulate.o x86-emulate-cov.o: x86_emulate/x86_emulate.c $(x86_emulate.h)
 
-fuzz-emul.o fuzz-emulate-cov.o: $(x86_emulate.h)
+fuzz-emul.o fuzz-emulate-cov.o wrappers.o: $(x86_emulate.h)
 
 x86-insn-fuzzer.a: fuzz-emul.o x86-emulate.o
        $(AR) rc $@ $^