From patchwork Thu Dec 20 01:24:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viktor Prutyanov X-Patchwork-Id: 1016446 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=phystech.edu Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=phystech-edu.20150623.gappssmtp.com header.i=@phystech-edu.20150623.gappssmtp.com header.b="EaJdqn0g"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43KvJL1qq0z9sBh for ; Thu, 20 Dec 2018 12:27:30 +1100 (AEDT) Received: from localhost ([::1]:34853 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZn7X-0006so-TV for incoming@patchwork.ozlabs.org; Wed, 19 Dec 2018 20:27:27 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46542) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZn5S-0005le-1G for qemu-devel@nongnu.org; Wed, 19 Dec 2018 20:25:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gZn5O-0002rU-IL for qemu-devel@nongnu.org; Wed, 19 Dec 2018 20:25:16 -0500 Received: from mail-lf1-x141.google.com ([2a00:1450:4864:20::141]:36928) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gZn5M-0002nK-JV for qemu-devel@nongnu.org; Wed, 19 Dec 2018 20:25:14 -0500 Received: by mail-lf1-x141.google.com with SMTP id y11so65832lfj.4 for ; Wed, 19 Dec 2018 17:25:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phystech-edu.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=tk6MyYP6tMJEmhporjWAYmI02qatXT9B3UUzmIFGqk8=; b=EaJdqn0gtTSSF0IObO/qucealn9Eu3es/+OeLD8CsqW+0anf7bUqHLfOyXuR7RAyvZ 2OSsyx0f/ttjUdIsLB+DIgWEoyfQM/bD7P2lWQ+vW/9pXcIjlhsv9c4/GvPQF22+YgD4 TmFZVoRMyltaRRu0GcQ8tc2db7Xqs4NUEPOx96buB7FCmHWSW7RremI6y9kUwN6LIMX6 x4frEvqqHzSt7jak4ArrmJFe4I+h+9WYbui/zdgQx9P7Wu90LEE+Sl8ZcrkWu7TMjyom rCJWJK3ZZfX2/7WZ8UpMaNnHWLwHbFUSfwpTg3gBh22hlAL0ge8U+ZhOUhhRQqAuBMQf BfCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=tk6MyYP6tMJEmhporjWAYmI02qatXT9B3UUzmIFGqk8=; b=cDOZWHRtldWlZLcbBoADnR3b/RHr9ybEWpQsEV2g1uCwcDqZrBix/S1agfrJGgAMyW eeW6JPdtumPPnLvXEeOI0shHjO+m+mASlvzWLddqUw6qN9lfkMkGPt7IipE0GNldTcn9 IFbR3xtU8d9LtoWmbxv78Mi7xeZr7EmuOkkPNtqynCsyggHnfalj8Ep4rF/dPzA00ax4 nSSHKi9/cf37d487ScvTmqmO2dpxQtzKlPUTceTMVj8RRlu6zdtXBgo7Jqh7lveSjhvR UIIXjfnJ72IPjAeWdYG0gXl5wwm8hz56zAVxfi8PI3ript3XP293oYscweCvITqc8Hli Hz9w== X-Gm-Message-State: AA+aEWZ5Ytc/unJdfli6KVLEFG4vEIMUWi/P2GZNp3dpBmFuPAeMjC9W iw+ohUW2QmDe5hOpSiFnl0uaqzjz+6yazg== X-Google-Smtp-Source: AFSGD/VKFHMzPLcKKe+iiaQYA4q9PeF+xsD1jv3/0zsCjGtPdgTdj2tZoUl82kbBkR/PXLFurVV+7Q== X-Received: by 2002:a19:3809:: with SMTP id f9mr3186148lfa.148.1545269110950; Wed, 19 Dec 2018 17:25:10 -0800 (PST) Received: from localhost.localdomain ([93.175.11.132]) by smtp.gmail.com with ESMTPSA id z7-v6sm3737540lji.42.2018.12.19.17.25.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 19 Dec 2018 17:25:10 -0800 (PST) From: Viktor Prutyanov To: pbonzini@redhat.com, rkagan@virtuozzo.com Date: Thu, 20 Dec 2018 04:24:41 +0300 Message-Id: <20181220012441.13694-7-viktor.prutyanov@phystech.edu> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181220012441.13694-1-viktor.prutyanov@phystech.edu> References: <20181220012441.13694-1-viktor.prutyanov@phystech.edu> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::141 Subject: [Qemu-devel] [PATCH v2 6/6] configure: enable elf2dmp build for Windows hosts X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-devel@nongnu.org, Viktor Prutyanov Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" After this patch contrib/elf2dmp can be built for Windows x86 and x86_64 hosts by mingw. Signed-off-by: Viktor Prutyanov --- Makefile | 4 ++-- configure | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index c8b9efdad4..25acb94aa6 100644 --- a/Makefile +++ b/Makefile @@ -565,8 +565,8 @@ ifneq ($(EXESUF),) qemu-ga: qemu-ga$(EXESUF) $(QGA_VSS_PROVIDER) $(QEMU_GA_MSI) endif -elf2dmp: LIBS = $(CURL_LIBS) -elf2dmp: $(elf2dmp-obj-y) +elf2dmp$(EXESUF): LIBS += $(CURL_LIBS) +elf2dmp$(EXESUF): $(elf2dmp-obj-y) $(call LINK, $^) ifdef CONFIG_IVSHMEM diff --git a/configure b/configure index 224d3071ac..686ae2e093 100755 --- a/configure +++ b/configure @@ -5753,8 +5753,8 @@ if test "$want_tools" = "yes" ; then if [ "$ivshmem" = "yes" ]; then tools="ivshmem-client\$(EXESUF) ivshmem-server\$(EXESUF) $tools" fi - if [ "$posix" = "yes" ] && [ "$curl" = "yes" ]; then - tools="elf2dmp $tools" + if [ "$curl" = "yes" ]; then + tools="elf2dmp\$(EXESUF) $tools" fi fi if test "$softmmu" = yes ; then