From patchwork Fri May 12 15:21:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Liu X-Patchwork-Id: 9724411 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 669FF601E7 for ; Fri, 12 May 2017 15:23:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 59B3F28830 for ; Fri, 12 May 2017 15:23:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4C83128840; Fri, 12 May 2017 15:23:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 27D8828830 for ; Fri, 12 May 2017 15:23:24 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d9CNU-0006mf-Pp; Fri, 12 May 2017 15:21:12 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d9CNT-0006mK-AO for xen-devel@lists.xenproject.org; Fri, 12 May 2017 15:21:11 +0000 Received: from [85.158.137.68] by server-7.bemta-3.messagelabs.com id CF/FD-02202-6E2D5195; Fri, 12 May 2017 15:21:10 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrFLMWRWlGSWpSXmKPExsXitHRDpO6zS6K RBjOWMFl83zKZyYHR4/CHKywBjFGsmXlJ+RUJrBnb569kK/jCVbGnYwVrA+NPji5GTg4JAX+J f/2fmUFsNgFliZ+dvWwgtoiAnkTTgeeMXYxcHMwCExkl5q+dxQ6SEAZqeDphBQuIzSKgKnFv2 TNGEJtXwEJizY6ZLBBD5SV2tV1kBbGFBBQkOqYfY4KoEZQ4OfMJWA2zgITEwRcvmCcwcs9Ckp qFJLWAkWkVo0ZxalFZapGusYFeUlFmekZJbmJmjq6hgbFebmpxcWJ6ak5iUrFecn7uJkZgONQ zMDDuYOw84XeIUZKDSUmU9xKraKQQX1J+SmVGYnFGfFFpTmrxIUYZDg4lCd7vF4FygkWp6akV aZk5wMCESUtw8CiJ8L4HSfMWFyTmFmemQ6ROMepyvFv64T2TEEtefl6qlDhvKUiRAEhRRmke3 AhYlFxilJUS5mVkYGAQ4ilILcrNLEGVf8UozsGoJMx7EmQKT2ZeCdymV0BHMAEd0f9HGOSIkk SElFQDo3emheuVqQKnFX1fpu2JnCwjqPNaJH0LV9SWrpxKvR6zsEMHs74wH3f7V2GSaSPbumI u36qzuSflRObyzVGak7Jn695QmeTY/J1MjzdqrpBe0cFe0/Bx43/HT7079i1UPrT+3Q/dD2nX NF5tWs5340ZI4r1LhlNrZc9++ibKmrfjzpk+5upVwUosxRmJhlrMRcWJAHK65YyNAgAA X-Env-Sender: prvs=298e3db6d=wei.liu2@citrix.com X-Msg-Ref: server-12.tower-31.messagelabs.com!1494602468!83421755!1 X-Originating-IP: [66.165.176.89] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni44OSA9PiAyMDMwMDc=\n, received_headers: No Received headers X-StarScan-Received: X-StarScan-Version: 9.4.12; banners=-,-,- X-VirusChecked: Checked Received: (qmail 35363 invoked from network); 12 May 2017 15:21:09 -0000 Received: from smtp.citrix.com (HELO SMTP.CITRIX.COM) (66.165.176.89) by server-12.tower-31.messagelabs.com with RC4-SHA encrypted SMTP; 12 May 2017 15:21:09 -0000 X-IronPort-AV: E=Sophos;i="5.38,330,1491264000"; d="scan'208";a="423432827" From: Wei Liu To: Xen-devel Date: Fri, 12 May 2017 16:21:06 +0100 Message-ID: <20170512152106.12032-1-wei.liu2@citrix.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Cc: Juergen Gross , Ian Jackson , Julien Grall , Wei Liu Subject: [Xen-devel] [PATCH for-4.9] ioemu-stubdom: don't link *-softmmu* and *-linux-user* X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP They are generated by ./configure. Having them linked can cause race between tools build and stubdom build. Signed-off-by: Wei Liu Reviewed-by: Juergen Gross Acked-by: Ian Jackson --- Cc: Ian Jackson Cc: Juergen Gross Cc: Julien Grall 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 || { \