Quantcast

[xen master] ioemu-stubdom: don't link *-softmmu* and *-linux-user*

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

[xen master] ioemu-stubdom: don't link *-softmmu* and *-linux-user*

patchbot
commit 36a049ff465f21c38f09e6e5e175c8311407f44c
Author:     Wei Liu <[hidden email]>
AuthorDate: Fri May 12 16:21:06 2017 +0100
Commit:     Wei Liu <[hidden email]>
CommitDate: Tue May 16 12:38:56 2017 +0100

    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 <[hidden email]>
    Reviewed-by: Juergen Gross <[hidden email]>
    Acked-by: Ian Jackson <[hidden email]>
    Release-acked-by: Julien Grall <[hidden email]>
---
 stubdom/Makefile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/stubdom/Makefile b/stubdom/Makefile
index 54a2bdd..aef705d 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 || { \
--
generated by git-patchbot for /home/xen/git/xen.git#master

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