[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH for-4.9] ioemu-stubdom: don't link *-softmmu* and *-linux-user*



They are generated by ./configure. Having them linked can cause race
between tools build and stubdom build.

Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
---
Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Cc: Juergen Gross <jgross@xxxxxxxx>
Cc: Julien Grall <Julien.Grall@xxxxxxx>

Should fix
http://logs.test-lab.xenproject.org/osstest/logs/109330/build-amd64/5.ts-xen-build.log
---
 stubdom/Makefile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/stubdom/Makefile b/stubdom/Makefile
index 54a2bdda0e..aef705dd1e 100644
--- a/stubdom/Makefile
+++ b/stubdom/Makefile
@@ -295,10 +295,12 @@ ioemu/linkfarm.stamp: 
$(XEN_ROOT)/tools/qemu-xen-traditional-dir
        $(buildmakevars2shellvars);                                             
\
        cd ioemu;                                                               
\
        src="$$XEN_ROOT/tools/qemu-xen-traditional-dir"; export src;            
\
-       (cd $$src && find * -type d -print) | xargs mkdir -p;                   
\
-       (cd $$src && find *     ! -type l  -type f  $(addprefix ! -name ,       
\
+       (cd $$src && find * -type d                                             
\
+               $(addprefix ! -path , '*-softmmu*' '*-linux-user*') -print)     
\
+               | xargs mkdir -p;                                               
\
+       (cd $$src && find *     ! -type l  -type f  $(addprefix ! -path ,       
\
                        '*.[oda1]' 'config-*' config.mak qemu-dm qemu-img-xen   
\
-                       '*.html' '*.pod'                                        
\
+                       '*.html' '*.pod' '*-softmmu*' '*-linux-user*'           
\
                        )) >linkfarm.stamp.tmp;                         \
        cmp -s linkfarm.stamp.tmp linkfarm.stamp &&                     \
                rm linkfarm.stamp.tmp || {                              \
-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.