From patchwork Thu May 3 19:51:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Michael S. Tsirkin" X-Patchwork-Id: 10379207 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 37DFF60541 for ; Thu, 3 May 2018 20:31:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1690E29274 for ; Thu, 3 May 2018 20:31:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0AF4C29277; Thu, 3 May 2018 20:31:37 +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=-7.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 885F029274 for ; Thu, 3 May 2018 20:31:36 +0000 (UTC) Received: from localhost ([::1]:58782 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fEKt5-0005F6-Og for patchwork-qemu-devel@patchwork.kernel.org; Thu, 03 May 2018 16:31:35 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57348) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fEKGJ-00030D-N9 for qemu-devel@nongnu.org; Thu, 03 May 2018 15:51:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fEKGF-0002xR-Fz for qemu-devel@nongnu.org; Thu, 03 May 2018 15:51:31 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:33930 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fEKGF-0002x1-Ag for qemu-devel@nongnu.org; Thu, 03 May 2018 15:51:27 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id DA86240261D5; Thu, 3 May 2018 19:51:26 +0000 (UTC) Received: from redhat.com (ovpn-122-8.rdu2.redhat.com [10.10.122.8]) by smtp.corp.redhat.com (Postfix) with SMTP id 9274A2166BAD; Thu, 3 May 2018 19:51:26 +0000 (UTC) Date: Thu, 3 May 2018 22:51:26 +0300 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Message-ID: <1525376963-79623-45-git-send-email-mst@redhat.com> References: <1525376963-79623-1-git-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1525376963-79623-1-git-send-email-mst@redhat.com> X-Mutt-Fcc: =sent X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Thu, 03 May 2018 19:51:26 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Thu, 03 May 2018 19:51:26 +0000 (UTC) for IP:'10.11.54.6' DOMAIN:'int-mx06.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'mst@redhat.com' RCPT:'' X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.187.233.73 Subject: [Qemu-devel] [PATCH 44/67] tcg-ldst.inc.c: replace command line flags with preprocessor 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: kwolf@redhat.com, peter.maydell@linaro.org Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Each target is currently built with a different set of include directories, this is what makes it possible to pull in a separate copy of tcg-ldst.inc.c depending on the target. Replace with per-target ifdefs which are easier to understand. Signed-off-by: Michael S. Tsirkin --- include/tcg-ldst.inc.c | 1 + 1 file changed, 1 insertion(+) create mode 100644 include/tcg-ldst.inc.c diff --git a/include/tcg-ldst.inc.c b/include/tcg-ldst.inc.c new file mode 100644 index 0000000..fa0f3bf --- /dev/null +++ b/include/tcg-ldst.inc.c @@ -0,0 +1 @@ +#include_next "../tcg/tcg-ldst.inc.c"