From patchwork Fri Jun 5 07:39:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 281331 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 12DF9C433DF for ; Fri, 5 Jun 2020 07:42:48 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D11FB207D3 for ; Fri, 5 Jun 2020 07:42:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="hwbXzoIT" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D11FB207D3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:59244 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jh703-0006D1-0a for qemu-devel@archiver.kernel.org; Fri, 05 Jun 2020 03:42:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54690) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jh6xU-0001g7-Cl for qemu-devel@nongnu.org; Fri, 05 Jun 2020 03:40:08 -0400 Received: from us-smtp-2.mimecast.com ([205.139.110.61]:36016 helo=us-smtp-delivery-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jh6xT-0004uq-ME for qemu-devel@nongnu.org; Fri, 05 Jun 2020 03:40:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591342806; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ttjV0syfgjbLAzbS9wNPqlHp/5sYrehPP++5NBowujA=; b=hwbXzoITTj8avz3pTq8iIJGwGYux/RyMY/hGwS8WlDq/MSwBCn9TBbnyjY0azSZxp+fHx5 Chh9qp6duTPuzBDJNVdOucVBEbWGznVoQPs27iGip4idiwUND4Ny0gPqHL/ncyAyAWsfcG P615iYkW8p6O5jB0MdLSHrn52+iWHuw= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-190-Vkd872U-NzKQS0B_gTVbRQ-1; Fri, 05 Jun 2020 03:40:02 -0400 X-MC-Unique: Vkd872U-NzKQS0B_gTVbRQ-1 Received: by mail-wr1-f69.google.com with SMTP id a4so3415209wrp.5 for ; Fri, 05 Jun 2020 00:40:02 -0700 (PDT) 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:mime-version:content-transfer-encoding; bh=ttjV0syfgjbLAzbS9wNPqlHp/5sYrehPP++5NBowujA=; b=RECun9GwYdRCsrMVI+T50aKTg/e3LoDIdpRsd7jLNmcxNK15IOVEydzQ8ZpCpTP3CK NDOxkYv6qLodr1ypRpPeSmO5hS5fxqDjTat20I8G86fCUm+s9OTuwLwST/U67cyJprSB gRHChY62kBFipSRnNOiaUPPZC6aPkd7AYqoUzJEQWj7EyQPPCrM4Up8bUB+UQH8W+eeI iYdvw7GTg5ykUzk2oYry6KQAJCDvLzMkEZ4ytCZ9ENbQCWuDh6vxMTun9SPWJm7RtE/p +QLF4Pzg9Js+Rw8YC2U1wWdaEwFBOkQcektT2QlXuCNH9zhmwupjrCzHTeV4sXNSVGyq EVJg== X-Gm-Message-State: AOAM5313zKJkvK/n0ptCIqDVOHVVMNP4eCW5pd/N9+ujLadUnqphSCPS GQSz5xdfcNWuNIuK+CDE7jPEBxjEgYkfg0CUUR5evgtUGqj82iYF6VtlMcQ6O8iSCXMYRLxFh7u g1scoKrYlySOv1sE= X-Received: by 2002:adf:fe07:: with SMTP id n7mr7940254wrr.240.1591342800968; Fri, 05 Jun 2020 00:40:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSpkqZxtH9GgfG3xxOVwydp/+mRMQL4vPxGRIEfqWwqh90nEhYZvvVmoIHQqSNYHV3+dqDSQ== X-Received: by 2002:adf:fe07:: with SMTP id n7mr7940242wrr.240.1591342800825; Fri, 05 Jun 2020 00:40:00 -0700 (PDT) Received: from localhost.localdomain (181.red-88-10-103.dynamicip.rima-tde.net. [88.10.103.181]) by smtp.gmail.com with ESMTPSA id j5sm10886895wrq.39.2020.06.05.00.39.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2020 00:40:00 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v5 01/11] MAINTAINERS: Fix KVM path expansion glob Date: Fri, 5 Jun 2020 09:39:43 +0200 Message-Id: <20200605073953.19268-2-philmd@redhat.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200605073953.19268-1-philmd@redhat.com> References: <20200605073953.19268-1-philmd@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=205.139.110.61; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-1.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/05 03:35:49 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , Thomas Huth , Richard Henderson , =?utf-8?q?Philippe_?= =?utf-8?q?Mathieu-Daud=C3=A9?= , Richard Henderson Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" The KVM files has been moved from target-ARCH to the target/ARCH/ folder in commit fcf5ef2a. Fix the pathname expansion. Fixes: fcf5ef2a ("Move target-* CPU file into a target/ folder") Reviewed-by: Richard Henderson Reviewed-by: Thomas Huth Signed-off-by: Philippe Mathieu-Daudé --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 3e7d9cb0a5..948790b433 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -361,7 +361,7 @@ Overall KVM CPUs M: Paolo Bonzini L: kvm@vger.kernel.org S: Supported -F: */kvm.* +F: */*/kvm* F: accel/kvm/ F: accel/stubs/kvm-stub.c F: include/hw/kvm/ From patchwork Fri Jun 5 07:39:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 281328 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3F7E5C433DF for ; Fri, 5 Jun 2020 07:46:44 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BB7382074B for ; Fri, 5 Jun 2020 07:46:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="RbxFvAMc" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BB7382074B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:47830 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jh73q-0004ug-Pj for qemu-devel@archiver.kernel.org; Fri, 05 Jun 2020 03:46:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54756) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jh6xu-0002iP-HZ for qemu-devel@nongnu.org; Fri, 05 Jun 2020 03:40:34 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:41887 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jh6xt-000573-DY for qemu-devel@nongnu.org; Fri, 05 Jun 2020 03:40:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591342832; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2ZFf7G8NXamXZhDqWtiyiSwxOIFrSXUEnseP+sLni2o=; b=RbxFvAMcEXtHgMNkXb0ZPnY3WmrXqOaschxyBphVQDZq/n2yHp3bjXfs9ujZX08WH7NZcf d8YmK712/cm8JccdSDw6ZhiEpNoGlR3CGZvVB18p92JoZ85TkxmZfumZ+i5ay9y/UvT3/D Ll7B0/+djNxT7TurysJYCKsr7+gvkLM= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-13-avlTOh2gMquZ0S3IpelQPQ-1; Fri, 05 Jun 2020 03:40:12 -0400 X-MC-Unique: avlTOh2gMquZ0S3IpelQPQ-1 Received: by mail-wr1-f69.google.com with SMTP id j16so3385937wre.22 for ; Fri, 05 Jun 2020 00:40:12 -0700 (PDT) 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:mime-version:content-transfer-encoding; bh=2ZFf7G8NXamXZhDqWtiyiSwxOIFrSXUEnseP+sLni2o=; b=cWTsm6meGxf1bbzhYLqk61v6Ay+p8jjqicsWZReX0x98VKjQ21GoawrVZ8uxV8+fTd JNszYyQ53rSXG3R+eluLhU9vit3yy3K/4VrPf5H/JeejWfg/4d7s/cfilnPErGY/y3gi 91yCOEWC7WbAA/8kup9kZsa7rg9E7IVWxrR4kXUbHXIkwJXKC0QgjK4PV1u1QgrYVq4T 7RyZCSWKEVtKkHn4pFd6lMOvHWrYFdvvWiAJ3r6sxPU+f/NttAKgmQKW71B2nKbZ6Ugo HI8icgfS7fOVmOYC0Si4a7iPphQVQsV4iSgzi6Taq4RWSC3PeXtQdDE4bR9wYp7HZOlW eAlw== X-Gm-Message-State: AOAM531nokJs26kR+Ry5TfBIhDAmPK3E/07eDnbWv6c0xr0rMVQlMeWV JxLstlbP+QUlxPYKf+o1MN7EZh0TO7tn9fWGWYseUxEfdNhzbaIa9mU+TUe984JJCyr1Aq0e3Su ycVqgNrFxdO4w5Eo= X-Received: by 2002:a5d:4841:: with SMTP id n1mr8685733wrs.64.1591342811041; Fri, 05 Jun 2020 00:40:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwY79KqdbaGk/M1MDzUlkuiyhcSXcNWg+5Zw0W11jjbsxSwnD89SDtmSjPg2+BJsQjAKS742w== X-Received: by 2002:a5d:4841:: with SMTP id n1mr8685709wrs.64.1591342810877; Fri, 05 Jun 2020 00:40:10 -0700 (PDT) Received: from localhost.localdomain (181.red-88-10-103.dynamicip.rima-tde.net. [88.10.103.181]) by smtp.gmail.com with ESMTPSA id v2sm11030246wrn.21.2020.06.05.00.40.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2020 00:40:10 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v5 03/11] MAINTAINERS: Add an entry for the HAX accelerator Date: Fri, 5 Jun 2020 09:39:45 +0200 Message-Id: <20200605073953.19268-4-philmd@redhat.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200605073953.19268-1-philmd@redhat.com> References: <20200605073953.19268-1-philmd@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=207.211.31.120; envelope-from=philmd@redhat.com; helo=us-smtp-1.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/05 03:07:04 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vincent Palatin , Sergio Andres Gomez Del Real , Wenchao Wang , haxm-team@intel.com, Colin Xu , Yu Ning , Paolo Bonzini , Tao Wu , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Richard Henderson Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Nobody replied since the first time [*] that patch was posted, so mark HAX as orphan. [*] https://mid.mail-archive.com/20200316120049.11225-4-philmd@redhat.com Signed-off-by: Philippe Mathieu-Daudé --- This patch has been posted 5 times, first time more than 2 months ago: https://www.mail-archive.com/qemu-devel@nongnu.org/msg689009.html Cc: Sergio Andres Gomez Del Real Cc: Vincent Palatin Cc: Yu Ning Cc: Tao Wu Cc: haxm-team@intel.com Cc: Colin Xu Cc: Wenchao Wang Invalid: Hang Yuan Invalid: David Chou --- MAINTAINERS | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index f725c12161..05d7210204 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -426,6 +426,12 @@ F: accel/accel.c F: accel/Makefile.objs F: accel/stubs/Makefile.objs +HAX Accelerator +S: Orphan +F: accel/stubs/hax-stub.c +F: target/i386/hax-all.c +F: include/sysemu/hax.h + X86 HVF CPUs M: Roman Bolshakov S: Maintained From patchwork Fri Jun 5 07:39:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 281329 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D8C23C433DF for ; Fri, 5 Jun 2020 07:44:08 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A45E4207D3 for ; Fri, 5 Jun 2020 07:44:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="WLEyhzRM" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A45E4207D3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:39638 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jh71L-0001Qs-Tu for qemu-devel@archiver.kernel.org; Fri, 05 Jun 2020 03:44:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54748) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jh6xn-0002Mk-Tc for qemu-devel@nongnu.org; Fri, 05 Jun 2020 03:40:27 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:36215 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jh6xn-00056F-0D for qemu-devel@nongnu.org; Fri, 05 Jun 2020 03:40:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591342826; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VFGkz0p8Ozik1u5VT2fQxUZYeytpG6hcbiN9ZEF3zxA=; b=WLEyhzRMeLGDfqXXzaqaY5USTyPgUs9N1GxMk1tPwM+5BefD8HFEFLszi8HVyo5342L4ZO vWJCH9g8PEG2JDRmkU10CANIV1gMIwUnk/gagPNB3j844KIAe1NTGGhJ1ibYsOQNTBIa+8 CluF+3QS2f8M9AX3TNqGS4sZW/kAIsE= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-252-5werW9iVPiGc5zPQt0IUEA-1; Fri, 05 Jun 2020 03:40:22 -0400 X-MC-Unique: 5werW9iVPiGc5zPQt0IUEA-1 Received: by mail-wr1-f69.google.com with SMTP id l1so3408857wrc.8 for ; Fri, 05 Jun 2020 00:40:21 -0700 (PDT) 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:mime-version:content-transfer-encoding; bh=VFGkz0p8Ozik1u5VT2fQxUZYeytpG6hcbiN9ZEF3zxA=; b=UrbxV8YP+V9omW56qWAfb6vB1Jdn4qFLjfXnwoeZQ9WaTWTDgP+xrWnWJokykHcHzN JN246MS8U50pi0YZ5vViYMKgSsoQGibmDqSZsTcEFNYyl6ZFKVAAxaSl2JML1qgtUsvA 3fr9wkoZ5oxJ5i6ypqhYKQXdysagd+xANEIdMzQRBbD2JlReybtCz9bvRbmh8XsoLVFQ FNCRdupQnWOCYq4lDW7ztrvLKcQ1GCdSEDZaRUuz2b9mE70PZj+1ZtOdgK6HLFWhFMe8 E4y4zSXpc20DRlfmvvxxrJZYWtt50GEJ1MXIe1hKRQSjtSpwJXcJK18a57DXybreI63r sQUw== X-Gm-Message-State: AOAM533L4xBjtvR4/0Sk7W5+f36Vi0sZDqgvRaKaAD6rJo7qm0gUsbHF VbMASltsH3nhCyBGQQENTcRibNjwR+ofiPZbs+OynO3bINevkKwb9nx6Ie6u4fG+4w6l8cYwCGa r+31AVDgOXh4fiGg= X-Received: by 2002:adf:8b55:: with SMTP id v21mr8608978wra.187.1591342820778; Fri, 05 Jun 2020 00:40:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxN19mIF1iE06AjpBLrNf8TYxvvfAjsvWZfF2+UGLaRVmFFmTavxzcT1AozrLBvY7ca1KvWHg== X-Received: by 2002:adf:8b55:: with SMTP id v21mr8608965wra.187.1591342820560; Fri, 05 Jun 2020 00:40:20 -0700 (PDT) Received: from localhost.localdomain (181.red-88-10-103.dynamicip.rima-tde.net. [88.10.103.181]) by smtp.gmail.com with ESMTPSA id y80sm11319660wmc.34.2020.06.05.00.40.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2020 00:40:20 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v5 05/11] rules.mak: Add base-arch() rule Date: Fri, 5 Jun 2020 09:39:47 +0200 Message-Id: <20200605073953.19268-6-philmd@redhat.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200605073953.19268-1-philmd@redhat.com> References: <20200605073953.19268-1-philmd@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=205.139.110.120; envelope-from=philmd@redhat.com; helo=us-smtp-1.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/05 03:27:26 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?b?w6k=?= , Richard Henderson Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Add a rule to return the base architecture for a QEMU target. The current list of TARGET_BASE_ARCH is: $ git grep TARGET_BASE_ARCH configure configure:7785:TARGET_BASE_ARCH="" configure:7795: TARGET_BASE_ARCH=i386 configure:7813: TARGET_BASE_ARCH=arm configure:7846: TARGET_BASE_ARCH=mips configure:7854: TARGET_BASE_ARCH=mips configure:7864: TARGET_BASE_ARCH=openrisc configure:7871: TARGET_BASE_ARCH=ppc configure:7879: TARGET_BASE_ARCH=ppc configure:7887: TARGET_BASE_ARCH=ppc configure:7894: TARGET_BASE_ARCH=riscv configure:7900: TARGET_BASE_ARCH=riscv configure:7920: TARGET_BASE_ARCH=sparc configure:7925: TARGET_BASE_ARCH=sparc The rule can be tested calling 'print-base-arch-$TARGET': $ make \ print-base-arch-openrisc \ print-base-arch-aarch64_be \ print-base-arch-x86_64 \ print-base-arch-mips64el \ print-base-arch-ppc64 \ print-base-arch-riscv64 openrisc=openrisc aarch64_be=arm x86_64=i386 mips64el=mips ppc64=ppc riscv64=riscv Signed-off-by: Philippe Mathieu-Daudé --- v5: - risc -> riscv (rth) - use strequal (rth) - add microblaze/sh4/xtensa v4: - use startwith() - fix openrisc (rth) --- rules.mak | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/rules.mak b/rules.mak index ccc1c49604..907f9aca91 100644 --- a/rules.mak +++ b/rules.mak @@ -452,3 +452,38 @@ atomic = $(eval $1: $(call sentinel,$1) ; @:) \ print-%: @echo '$*=$($*)' + +# base-arch +# Usage: $(call base-arch, target) +# +# @target: the target architecture. +# +# This macro will return the base architecture for a target. +# +# As example, $(call base-arch, aarch64) returns 'arm'. +base-arch = $(strip \ + $(if $(call startwith,aarch64,$1),arm,\ + $(if $(call startwith,arm,$1),arm,\ + $(if $(call startwith,microblaze,$1),microblaze,\ + $(if $(call startwith,mips,$1),mips,\ + $(if $(call startwith,ppc,$1),ppc,\ + $(if $(call startwith,riscv,$1),riscv,\ + $(if $(call startwith,sh4,$1),sh4,\ + $(if $(call startwith,sparc,$1),sparc,\ + $(if $(call startwith,xtensa,$1),xtensa,\ + $(if $(call strequal,x86_64,$1),i386,\ + $1\ + )\ + )\ + )\ + )\ + )\ + )\ + )\ + )\ + )\ + )\ + ) + +print-base-arch-%: + @echo '$*=$(call base-arch,$*)' From patchwork Fri Jun 5 07:39:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 281330 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CE770C433E0 for ; Fri, 5 Jun 2020 07:43:10 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9CC7F207D5 for ; Fri, 5 Jun 2020 07:43:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="a++0Nec4" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9CC7F207D5 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:33590 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jh70P-0007Eb-Qm for qemu-devel@archiver.kernel.org; Fri, 05 Jun 2020 03:43:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54752) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jh6xt-0002ec-9L for qemu-devel@nongnu.org; Fri, 05 Jun 2020 03:40:33 -0400 Received: from us-smtp-2.mimecast.com ([205.139.110.61]:34404 helo=us-smtp-delivery-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jh6xs-00056z-Dv for qemu-devel@nongnu.org; Fri, 05 Jun 2020 03:40:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591342831; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ndqFgBanjliYTdRp8N1sk+p/cY4owVogsc0x0ibf8Jw=; b=a++0Nec46LIFbnUy3y+Vgw0/ehOAtAxxazQPtVHIEuDjV7kNbQEgZcra/0qK1dijKwHGpZ LAaRU20YuK36XKFHFwfFpMgKeiEwaGXd8Zyungh0iKJCrj6BL4O6AW4oxa+p2e+ZduIExV OVoxYTtdVRQqXoOjxavZOCIQQ62nUO8= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-160-GGS4JfEMO6aU9zj3KH_aNg-1; Fri, 05 Jun 2020 03:40:28 -0400 X-MC-Unique: GGS4JfEMO6aU9zj3KH_aNg-1 Received: by mail-wr1-f69.google.com with SMTP id m14so3410232wrj.12 for ; Fri, 05 Jun 2020 00:40:28 -0700 (PDT) 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:mime-version:content-transfer-encoding; bh=ndqFgBanjliYTdRp8N1sk+p/cY4owVogsc0x0ibf8Jw=; b=rMy9QUf7oEpQMqrNmiLMkwq3VExsu+HxSZ4rzHFOnN41uq+9LW3Q2lzrh+b0cxnPNH GbqogxOG1f5zXK5ZlZy1+oQGaE9NOKTZcHMUpR/SHS8kuyOV9hg1WVUu9VTRte5hUzew 4VL3DA22eahPingK73SJPP1+/y+w4DCC+e8MonS6VUGfTq6XRDBJDj2ps3rhBLCOfeuS C2OXk8whxidkxG8hLbPJUCvqskVn5udHKfzh7GKmhWieiA5DpqGowTcmAxWMVSihpxvk fuVNMMgP5bPYgznPD2hYlC0z6PlZ5P048lndLs7Ex3yQ9H4S1Z8gbcRbYqZDMSl4OoBO BWbQ== X-Gm-Message-State: AOAM530FwdIvT73HCDXy1jjZHYYBUWZNRsxgkkvWJpLULEhjhJmj6V2x /xhz/gKZbIrd4Ue5/DIpo3RbmInp7oFLfqwgY7LQOWEacecPHopkhXgtfWSl6aqHK8hgCUziIuK o5sbhfcIEuYLRDCw= X-Received: by 2002:adf:fdcc:: with SMTP id i12mr8626785wrs.313.1591342827170; Fri, 05 Jun 2020 00:40:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxnQ2AniyMVxZoYobHmqCK9ik0wtyDnTfYZyOcSebWnPvTrCUfuBSe9d8Ts/3F6dJJ10SYA6g== X-Received: by 2002:adf:fdcc:: with SMTP id i12mr8626766wrs.313.1591342826952; Fri, 05 Jun 2020 00:40:26 -0700 (PDT) Received: from localhost.localdomain (181.red-88-10-103.dynamicip.rima-tde.net. [88.10.103.181]) by smtp.gmail.com with ESMTPSA id c6sm11196967wro.92.2020.06.05.00.40.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2020 00:40:24 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v5 06/11] Makefile: Remove dangerous EOL trailing backslash Date: Fri, 5 Jun 2020 09:39:48 +0200 Message-Id: <20200605073953.19268-7-philmd@redhat.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200605073953.19268-1-philmd@redhat.com> References: <20200605073953.19268-1-philmd@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=205.139.110.61; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-1.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/05 03:35:49 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Alistair Francis , Richard Henderson Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" One might get caught trying to understand unexpected Makefile behavior. Trailing backslash can help to split very long lines, but are rather dangerous when nothing follow. Preserve other developers debugging time by removing this one. Reviewed-by: Thomas Huth Reviewed-by: Alistair Francis Signed-off-by: Philippe Mathieu-Daudé --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 40e4f7677b..6c9d718b2c 100644 --- a/Makefile +++ b/Makefile @@ -420,7 +420,7 @@ MINIKCONF_ARGS = \ MINIKCONF_INPUTS = $(SRC_PATH)/Kconfig.host $(SRC_PATH)/hw/Kconfig MINIKCONF_DEPS = $(MINIKCONF_INPUTS) $(wildcard $(SRC_PATH)/hw/*/Kconfig) -MINIKCONF = $(PYTHON) $(SRC_PATH)/scripts/minikconf.py \ +MINIKCONF = $(PYTHON) $(SRC_PATH)/scripts/minikconf.py $(SUBDIR_DEVICES_MAK): %/config-devices.mak: default-configs/%.mak $(MINIKCONF_DEPS) $(BUILD_DIR)/config-host.mak $(call quiet-command, $(MINIKCONF) $(MINIKCONF_ARGS) > $@.tmp, "GEN", "$@.tmp") From patchwork Fri Jun 5 07:39:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 281327 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 65B73C433E0 for ; Fri, 5 Jun 2020 07:47:30 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2E37E2074B for ; Fri, 5 Jun 2020 07:47:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="arxrnS/A" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2E37E2074B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:51866 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jh74b-0006by-EV for qemu-devel@archiver.kernel.org; Fri, 05 Jun 2020 03:47:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54804) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jh6yB-0003Qp-5H for qemu-devel@nongnu.org; Fri, 05 Jun 2020 03:40:51 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:51801 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jh6yA-0005EN-6B for qemu-devel@nongnu.org; Fri, 05 Jun 2020 03:40:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591342849; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KqNAKdeyZY4N/WN8/VheKglAqudMynHtJmA2N/wtx2U=; b=arxrnS/AmWArS249CqkaK6W0gv68addUxfIHlJRI0Bfdp4P1Rtyhk3YKawTJghN7kp8UyO q8dNkVABXPjRhxpwSWa5E1SXKwa34beeeEaIoA1zmuBoEUOKqnOr8SRsy2YOhtUA0ikm5m LzMlSwb6G1hEt33YJNA+e4h8s8LW21g= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-221-zTfEUMX8O9Olr_g7vv4idg-1; Fri, 05 Jun 2020 03:40:47 -0400 X-MC-Unique: zTfEUMX8O9Olr_g7vv4idg-1 Received: by mail-wr1-f72.google.com with SMTP id s17so3398763wrt.7 for ; Fri, 05 Jun 2020 00:40:47 -0700 (PDT) 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:mime-version:content-transfer-encoding; bh=KqNAKdeyZY4N/WN8/VheKglAqudMynHtJmA2N/wtx2U=; b=BB1BDKJcRt9XPeZJSp2HM6cU3eN0vDfOPRXn3itLng2jL7UXXRWeBrvp8t0yMzdmzg 7/Af5Vt+9kaunLoZnv42V2kfLfvXQRPtM3/X2zU7U6KhVl7MKFYoJW/vpFIQMuVTfSIk Tua5cxFIK84CnJaeaeUbAAAoF4ni4Sw49fXZ1Ksi6LDxf+TBm6khWpp0G1PJmAZ0MEC2 z+xW4Tbjm04W/TXXpvExLr5Z5QYEvC2EffrZsAMxWsDnuheMUaflhORL3RZS7oQKcjw6 R9HS0CsCBbNt60t8SnuRJX0phcZNrVGFihVelgz6x+/aByBRe7MjeU+svQCuapSenw1u 2tIw== X-Gm-Message-State: AOAM533PwiiQ8WtON5sYmkr3HvxKFoZ/0ijD/yd8x44f0fplqyzWUI6p VLzdqs2yHiIqaJh5qexaMgMTR7xRWTqLTQJiaR9KRfbIuqO7ERpnTZVLQiMRMr5EepT4Q12HFVc kMlrjM6hP4ESSwmY= X-Received: by 2002:a7b:c842:: with SMTP id c2mr27529wml.58.1591342846477; Fri, 05 Jun 2020 00:40:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0HRocjeSwSn7JzlVT6ou2ScHm3/32razeRE7rw5nIck+u3lCHOiC5h4pGswBU9NBPjqY38g== X-Received: by 2002:a7b:c842:: with SMTP id c2mr27515wml.58.1591342846310; Fri, 05 Jun 2020 00:40:46 -0700 (PDT) Received: from localhost.localdomain (181.red-88-10-103.dynamicip.rima-tde.net. [88.10.103.181]) by smtp.gmail.com with ESMTPSA id t188sm5444384wmt.27.2020.06.05.00.40.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2020 00:40:45 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v5 10/11] Makefile: Allow target-specific optional Kconfig Date: Fri, 5 Jun 2020 09:39:52 +0200 Message-Id: <20200605073953.19268-11-philmd@redhat.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200605073953.19268-1-philmd@redhat.com> References: <20200605073953.19268-1-philmd@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=207.211.31.120; envelope-from=philmd@redhat.com; helo=us-smtp-1.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/05 03:07:04 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , Richard Henderson , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Richard Henderson Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Allow use of target-specific Kconfig file. Reviewed-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé --- v3: Use base-arch() to include TARGET_BASE_ARCH/Kconfig --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f8a45e1379..d5009cd304 100644 --- a/Makefile +++ b/Makefile @@ -423,11 +423,13 @@ MINIKCONF_INPUTS = $(SRC_PATH)/Kconfig.host \ $(SRC_PATH)/accel/Kconfig \ $(SRC_PATH)/hw/Kconfig MINIKCONF_DEPS = $(MINIKCONF_INPUTS) \ - $(wildcard $(SRC_PATH)/hw/*/Kconfig) + $(wildcard $(SRC_PATH)/hw/*/Kconfig) \ + $(wildcard $(SRC_PATH)/target/*/Kconfig) MINIKCONF = $(PYTHON) $(SRC_PATH)/scripts/minikconf.py $(SUBDIR_DEVICES_MAK): %/config-devices.mak: default-configs/%.mak $(MINIKCONF_DEPS) $(BUILD_DIR)/config-host.mak $(call quiet-command, $(MINIKCONF) $(MINIKCONF_ARGS) \ + $(wildcard $(SRC_PATH)/target/$(call base-arch, $(firstword $(subst -, ,$@)))/Kconfig) \ > $@.tmp, "GEN", "$@.tmp") $(call quiet-command, if test -f $@; then \ if cmp -s $@.old $@; then \