From patchwork Fri May 22 16:37:50 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: 282030 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 BC263C433E3 for ; Fri, 22 May 2020 16:39:40 +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 8BB1E2054F for ; Fri, 22 May 2020 16:39:40 +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="EER/8xPE" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8BB1E2054F 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]:51954 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jcAhv-00009K-K4 for qemu-devel@archiver.kernel.org; Fri, 22 May 2020 12:39:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jcAgZ-0006L6-6t for qemu-devel@nongnu.org; Fri, 22 May 2020 12:38:15 -0400 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:58552 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 1jcAgY-0002RH-Aa for qemu-devel@nongnu.org; Fri, 22 May 2020 12:38:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1590165493; 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=xuJZZIJUjKA4i/zVtfzhkV/IDLDSLy/ar8aF3AVhXnk=; b=EER/8xPEXLhMh6b+RdqkpnshZYJH3aN8n1nkyl3i2rGMRFXOxJ4Lz+DPNwmb/Qawd2A/3N EhEc/nULdT9tt5MN1IYAKkCfAqpPyDg0cggh2iJL2VD+Gt4Treb6leUAiGGLtzZYHEWl/Y pndiKSsUPOk6I7QBdX2eouNJUlC/xk8= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-353-99JmMUzuP3uFo0dxPLB16g-1; Fri, 22 May 2020 12:38:11 -0400 X-MC-Unique: 99JmMUzuP3uFo0dxPLB16g-1 Received: by mail-wr1-f71.google.com with SMTP id l12so4610392wrw.9 for ; Fri, 22 May 2020 09:38:11 -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=xuJZZIJUjKA4i/zVtfzhkV/IDLDSLy/ar8aF3AVhXnk=; b=iL7Y1uZx9yVUE1KlsNkiQqEmRf2EW9JZI3UQ5o6ngbHaOWn1xr8/ErFQRhe2+4NBJp MxoNQnip/9s1JznIADzh0t1fy6bqrJYmr88/R/6iYwOEPbiDSM79no5Sp/sFJvxjha2H XmLwRJb6v7jR9glW6dqSoykEtXNhhfwjU1KYcYJ7eIzm0/SGjtor6WcPorKMRq0JD/SL Vw785BO9NCIFddbRBtMIBekj+kPhOoNE3SDkovCUanrWJlZIqXt0OUy2XISZgBe2b9M9 0pS3uhX6WdLb4fmk3kEzSQNohKDF0Ll1bUve9rn6VySn5rPqc1iVs+928mSSKoWYIn1f 7kuA== X-Gm-Message-State: AOAM532nSc+FZLXTUEQ1Zf7lnmrS01tmpJko+U0cLE0fzxCbKe/mWZo9 etVhGR6VyAgl3/BK5kE4urGGraKwyD+oQAY2uMDeb9cBJRafkLMJpOIZfdqe8EG5DriRwlXVj4s mPr1ZeQRDzaC+1rA= X-Received: by 2002:adf:e84e:: with SMTP id d14mr3909169wrn.31.1590165490526; Fri, 22 May 2020 09:38:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzV0Fpvtw1W12OUzt2ujJXLn983QOFj6SGi+vIb+xZ6epS5uqNVP/ev3zO5zA4wpyos3R6FWQ== X-Received: by 2002:adf:e84e:: with SMTP id d14mr3909158wrn.31.1590165490324; Fri, 22 May 2020 09:38:10 -0700 (PDT) Received: from localhost.localdomain (17.red-88-21-202.staticip.rima-tde.net. [88.21.202.17]) by smtp.gmail.com with ESMTPSA id v205sm9891755wmg.11.2020.05.22.09.38.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 May 2020 09:38:09 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v4 02/11] MAINTAINERS: Add an 'overall' entry for accelerators Date: Fri, 22 May 2020 18:37:50 +0200 Message-Id: <20200522163759.11480-3-philmd@redhat.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200522163759.11480-1-philmd@redhat.com> References: <20200522163759.11480-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.81; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-1.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/22 11:12:54 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, 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" Reviewed-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé --- Cc: Paolo Bonzini v2: Cover accel/accel.c & accel/Makefile.objs (thuth) --- MAINTAINERS | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 00c1c1ed8b..f7ee0c77f1 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -415,6 +415,17 @@ S: Supported F: target/i386/kvm.c F: scripts/kvm/vmxcap +Guest CPU Cores (other accelerators) +------------------------------------ +Overall +M: Richard Henderson +R: Paolo Bonzini +S: Maintained +F: include/sysemu/accel.h +F: accel/accel.c +F: accel/Makefile.objs +F: accel/stubs/Makefile.objs + X86 HVF CPUs M: Roman Bolshakov S: Maintained From patchwork Fri May 22 16:37: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: 282031 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 2315DC433DF for ; Fri, 22 May 2020 16:39:26 +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 D17852054F for ; Fri, 22 May 2020 16:39:25 +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="Hv/OlCbL" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D17852054F 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]:50792 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jcAhh-00087w-0a for qemu-devel@archiver.kernel.org; Fri, 22 May 2020 12:39:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42962) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jcAgj-0006a3-Tm for qemu-devel@nongnu.org; Fri, 22 May 2020 12:38:25 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:54407 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 1jcAgj-0002SF-6Q for qemu-devel@nongnu.org; Fri, 22 May 2020 12:38:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1590165504; 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=i0X3nhCPIdBU+MkX2L6TDEsAOd8fgbYU7zMqrgwUeac=; b=Hv/OlCbLZZL9Ez4jM86zrrpVEtIKQiGjhKojbJD7hz21BwaUsceyPRrq0QrFEQ4K+aORB4 ii8QvXMBQOCtT11llreBq678m7Nckdoub+ZrXsoF3EWrLnlAopCLDWCqXM6FdUxSbf89Ls yrs3W9LKno6YkmHOM+9UXppolnGG3YQ= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-236-un4yGojmPKW7k7nZGQIekw-1; Fri, 22 May 2020 12:38:21 -0400 X-MC-Unique: un4yGojmPKW7k7nZGQIekw-1 Received: by mail-wm1-f72.google.com with SMTP id l26so2866293wmh.3 for ; Fri, 22 May 2020 09:38:20 -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=i0X3nhCPIdBU+MkX2L6TDEsAOd8fgbYU7zMqrgwUeac=; b=Tj5KXfJQaf8nKFmQw5hKHYiIuqGa4WxbJxKrreTt8TgQdUUBh2z1Jy+d4EMbz6yUTs PI9q34Y0azm2yEjewCRU2atPMV4l2di70FvbamGHHRFZgeAfzhFuJylOrnvE+x1GekTB f6EW7aBI4fm19UKLtbfOL4isSyQeWPz5mxshGg/DP5dyIPdL5wcFh0jeaGhMkB4V2Vd1 ESrR5l0+tUPL9g+6vtlfiTByt8AzjnIO9APqg8e59u+Z2x8o8vu70mbgSfqMTQr9MG1u Z48HoTCugGcvjWiQx42mxwHhFVCQB8UYiohCOWSzgphCBx2w8R9ThhmKQlssUo1lKw51 Nn6g== X-Gm-Message-State: AOAM531bVxRCCenR1s2zeF/W/w57UQ0kPqA+Ud5EOd+sGzgxC3ISRDbq Yr6K8pko0SIzYR2SJrg/87qJYONQj4m6ulQtLY1n//pMRMRhVOcqsAT6a8aMga9010rvELQATc+ m29A/djAgsOlzvqY= X-Received: by 2002:a1c:e188:: with SMTP id y130mr15059227wmg.83.1590165499649; Fri, 22 May 2020 09:38:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzU4Tpxwzqm2Lh7k726ZhonVTNgf8nL7wXUytk8+vF5JZ7N3ORrYK+U47MRG0o0qwQ/Zm15bw== X-Received: by 2002:a1c:e188:: with SMTP id y130mr15059219wmg.83.1590165499509; Fri, 22 May 2020 09:38:19 -0700 (PDT) Received: from localhost.localdomain (17.red-88-21-202.staticip.rima-tde.net. [88.21.202.17]) by smtp.gmail.com with ESMTPSA id z7sm9934568wrl.88.2020.05.22.09.38.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 May 2020 09:38:19 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v4 04/11] rules.mak: Add startwith() rule Date: Fri, 22 May 2020 18:37:52 +0200 Message-Id: <20200522163759.11480-5-philmd@redhat.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200522163759.11480-1-philmd@redhat.com> References: <20200522163759.11480-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/05/22 10:36:44 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, 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 , =?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 test if a string starts with a substring. Signed-off-by: Philippe Mathieu-Daudé --- rules.mak | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/rules.mak b/rules.mak index 694865b63e..e39bee93d5 100644 --- a/rules.mak +++ b/rules.mak @@ -191,6 +191,13 @@ ne = $(if $(subst $2,,$1)$(subst $1,,$2),y,n) isempty = $(if $1,n,y) notempty = $(if $1,y,n) +# startwith +# Usage: $(call startwith, startstr, fullstr) +# +# This macro returns a string (TRUE) when @fullstr starts with +# @startstr, else returns the empty string (FALSE) +startwith = $(findstring :$(strip $1),:$(strip $2)) + # Generate files with tracetool TRACETOOL=$(PYTHON) $(SRC_PATH)/scripts/tracetool.py From patchwork Fri May 22 16:37:53 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: 282029 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 CD5B5C433DF for ; Fri, 22 May 2020 16:41:19 +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 87B392065F for ; Fri, 22 May 2020 16:41:19 +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="RiEpbcew" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 87B392065F 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]:59320 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jcAjW-0003GN-NQ for qemu-devel@archiver.kernel.org; Fri, 22 May 2020 12:41:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42972) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jcAgm-0006et-LS for qemu-devel@nongnu.org; Fri, 22 May 2020 12:38:28 -0400 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:38873 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 1jcAgl-0002U2-SY for qemu-devel@nongnu.org; Fri, 22 May 2020 12:38:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1590165507; 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=zPKsbRJt9+h1QZ5ZVV7cawQ2hLkDBzrcL810MECGIUM=; b=RiEpbcewkKMs1J7IK9JY8RNSeO97WmQvvjtFfF+3joxWZ7rHvKrm/QrjBOoiEqg5O5ObT7 /66V0FBgaybQmer3lqdqWX6Jfpa6dJEozoP/ODePmHZ4yPcXB8E5bSC5Envu12ze8mJGfa hoOr/zzkH8jZuNUT6Also/eeygKhpm0= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-111-c97WLPUFMdiQYe-VvVoM_w-1; Fri, 22 May 2020 12:38:25 -0400 X-MC-Unique: c97WLPUFMdiQYe-VvVoM_w-1 Received: by mail-wr1-f71.google.com with SMTP id n9so4574983wru.20 for ; Fri, 22 May 2020 09:38:25 -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=zPKsbRJt9+h1QZ5ZVV7cawQ2hLkDBzrcL810MECGIUM=; b=p71N2GYLxfO2d9qhfnqp8aPmdnHKnGmx4jtupDVcYljsiZ1P6T9fAfhwNmoGIOabxt E8H99uQEqPZp9c/AtMtvj1Fzk/FiBbrNs6NTxFHQ2EqtSJUwYn9mB0qX3KY17MpHIbml IwJCLekwq0x1u4peCqbwYUbACevOKC/R8e0YSNTW+ekNshX1mOYcYr0rFPwRJOsNkXjb 5wOLgWMJRo2xaSG0+UpdAkusj/yqwuBL/3WyKAGuVGIBqVt9522nZYUAYxnWq5WK27D6 SKar+iokL+99vdTQ5ceaC1Cpm5bmqU3O8Xy+C4NPflfY8NzVTm8CRGVesSADiRMS/myY CKIQ== X-Gm-Message-State: AOAM531P7Lk1u2HGZnqa6cnnb25sJwjSym7Kb8Y6Yxf04dtibzrVUgt4 3mC2NvSFmYR7NGnWL/zK6zBlSaTrWKL/lOX6dWbA0dzvuRkKTSOoqNA8u3N/b+zju46nlkb7sH3 dZjybCdxRMf9+uyY= X-Received: by 2002:a5d:6283:: with SMTP id k3mr4010275wru.62.1590165503978; Fri, 22 May 2020 09:38:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyvccAQCLsXlZohF7IaPbmy9JYZk5H7N32zMfVsg9ojJLunE2SZwNXo210t2UtcjKLfYmiF0w== X-Received: by 2002:a5d:6283:: with SMTP id k3mr4010264wru.62.1590165503762; Fri, 22 May 2020 09:38:23 -0700 (PDT) Received: from localhost.localdomain (17.red-88-21-202.staticip.rima-tde.net. [88.21.202.17]) by smtp.gmail.com with ESMTPSA id m13sm9707946wmi.42.2020.05.22.09.38.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 May 2020 09:38:23 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v4 05/11] rules.mak: Add base-arch() rule Date: Fri, 22 May 2020 18:37:53 +0200 Message-Id: <20200522163759.11480-6-philmd@redhat.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200522163759.11480-1-philmd@redhat.com> References: <20200522163759.11480-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.81; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-1.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/22 11:12:54 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 \ print-base-arch-x86_64 \ print-base-arch-mips64el \ print-base-arch-ppc64 openrisc=openrisc aarch64=arm x86_64=i386 mips64el=mips ppc64=ppc Signed-off-by: Philippe Mathieu-Daudé --- v4: - use startwith() - fix openrisc (rth) --- rules.mak | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/rules.mak b/rules.mak index e39bee93d5..2ce527e885 100644 --- a/rules.mak +++ b/rules.mak @@ -445,3 +445,30 @@ 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,mips,$1),mips,\ + $(if $(call startwith,ppc,$1),ppc,\ + $(if $(call startwith,sparc,$1),sparc,\ + $(if $(call startwith,risc,$1),risc,\ + $(if $(call startwith,aarch64,$1),arm,\ + $(if $(call startwith,x86_64,$1),i386,\ + $1\ + )\ + )\ + )\ + )\ + )\ + )\ + ) + +print-base-arch-%: + @echo '$*=$(call base-arch, $*)' From patchwork Fri May 22 16:37:57 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: 282028 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 2CF98C433DF for ; Fri, 22 May 2020 16:42:16 +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 DB38220679 for ; Fri, 22 May 2020 16:42:15 +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="ACeaS2sm" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DB38220679 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]:35246 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jcAkR-00052I-2W for qemu-devel@archiver.kernel.org; Fri, 22 May 2020 12:42:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43004) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jcAh5-0007Nb-8n for qemu-devel@nongnu.org; Fri, 22 May 2020 12:38:47 -0400 Received: from us-smtp-2.mimecast.com ([205.139.110.61]:40045 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 1jcAh4-0002Wm-FU for qemu-devel@nongnu.org; Fri, 22 May 2020 12:38:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1590165525; 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=az8pj3ArsVB5H8vNRsyPhpcnKHlQHKIjS7ekh/fQInY=; b=ACeaS2smVVrwamTw73kT5FBCrLV3k8+StfXYXn7cVYPdW4XdYMAx35Ys7EFzC4zCFYZ8wY qXUJV0lkMw4f1o/LBMnVdLCjxxCgpVT/5XUObEmhcU8QeuflQ9HWaBFI6mSXL3PdOO+pdB zbjFo56MHG47jtLJIU+4ioC60Zuf6mg= 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-38-2zpiFFjLOk2LK5srTZbgow-1; Fri, 22 May 2020 12:38:43 -0400 X-MC-Unique: 2zpiFFjLOk2LK5srTZbgow-1 Received: by mail-wr1-f72.google.com with SMTP id h6so3744703wrx.4 for ; Fri, 22 May 2020 09:38:42 -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=az8pj3ArsVB5H8vNRsyPhpcnKHlQHKIjS7ekh/fQInY=; b=U8PmKLD1cWTxJUXp47dg4c6IURAuOg7mNLQ5iQGMyjaIH6MQbTkJ3kU6OAml8tHj7d dAXJRyihU72ODOhHNUnToJPPPpMDs1CNNM/2KCMPv1Tfoxz0eIDLouya7VL9Sopqin18 EHHtN9SlSfUGvZYxZYwULDSlikv5hWF2wp9zVkMJP3v1L0y9Zb8ufq/A6iJWEre+1Nv7 ng2LttLMbeRGtMwF3zR5H+zFoAdFvhcYJlTaaAmjOhE8sIXUhqBenRaEvK42GK7WAGF8 XSoDU2W7ipSl/zrf0cUzuu89/oMOi9KJbP7a/Iz3PgzIstD0WYR3z4C1J/clD7sdAbsT 4FCA== X-Gm-Message-State: AOAM530CzHfkJobWwd4SCg4Cc4m9ngVwKLFDe7Z/8C5w7Avnq3127mwS sM17oTSLpWKAI4Qyju1Vn2nxvzByG/qsiUvYkGjwogRXjN/xOTGtdVTaqFj63uQSRSs2zB93r10 ir2drJp+EevN20/s= X-Received: by 2002:a1c:9e51:: with SMTP id h78mr15150111wme.177.1590165521670; Fri, 22 May 2020 09:38:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxvIaTtKMFh7HlwRvGKT72YdFGv34yXyjnOQyJpc5k6PKe+opSSoNomaK1nTqMZSfcy7N4tuQ== X-Received: by 2002:a1c:9e51:: with SMTP id h78mr15150101wme.177.1590165521535; Fri, 22 May 2020 09:38:41 -0700 (PDT) Received: from localhost.localdomain (17.red-88-21-202.staticip.rima-tde.net. [88.21.202.17]) by smtp.gmail.com with ESMTPSA id z132sm11026086wmc.29.2020.05.22.09.38.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 May 2020 09:38:41 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v4 09/11] accel/Kconfig: Add the TCG selector Date: Fri, 22 May 2020 18:37:57 +0200 Message-Id: <20200522163759.11480-10-philmd@redhat.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200522163759.11480-1-philmd@redhat.com> References: <20200522163759.11480-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/05/22 11:11:51 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 , 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" Expose the CONFIG_TCG selector to let minikconf.py uses it. When building with --disable-tcg build, this helps to deselect devices that are TCG-dependent. Reviewed-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé --- Makefile | 1 + accel/Kconfig | 3 +++ 2 files changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 648757f79a..f8a45e1379 100644 --- a/Makefile +++ b/Makefile @@ -405,6 +405,7 @@ endif MINIKCONF_ARGS = \ $(CONFIG_MINIKCONF_MODE) \ $@ $*/config-devices.mak.d $< $(MINIKCONF_INPUTS) \ + CONFIG_TCG=$(CONFIG_TCG) \ CONFIG_KVM=$(CONFIG_KVM) \ CONFIG_SPICE=$(CONFIG_SPICE) \ CONFIG_IVSHMEM=$(CONFIG_IVSHMEM) \ diff --git a/accel/Kconfig b/accel/Kconfig index c21802bb49..2ad94a3839 100644 --- a/accel/Kconfig +++ b/accel/Kconfig @@ -1,3 +1,6 @@ +config TCG + bool + config KVM bool From patchwork Fri May 22 16:37:58 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: 282027 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 D31AFC433DF for ; Fri, 22 May 2020 16:43:22 +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 887402065F for ; Fri, 22 May 2020 16:43:22 +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="egZtI/ly" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 887402065F 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]:40234 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jcAlV-00075e-Nw for qemu-devel@archiver.kernel.org; Fri, 22 May 2020 12:43:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43010) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jcAh8-0007W5-HM for qemu-devel@nongnu.org; Fri, 22 May 2020 12:38:50 -0400 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:35194 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 1jcAh7-0002Wu-Ks for qemu-devel@nongnu.org; Fri, 22 May 2020 12:38:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1590165528; 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=egZtI/lyFEcjMjCtohMAEbIX7W+H1aJhwQOryJArNcTYMc3fcbuzRl+hXB6fhDurVdl9qL YwDHNllEkGnh0N6WbM0NCToe26GlQi/YPo1pFRztYYPEONsVFpk6oPOfKU78U2HNSaYvOl mQ748Yja1s3uCkHU2cqJCGMCSS4V4+o= 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-417-rJ9-vjuwNJiCK8sMK6Q_lw-1; Fri, 22 May 2020 12:38:47 -0400 X-MC-Unique: rJ9-vjuwNJiCK8sMK6Q_lw-1 Received: by mail-wr1-f69.google.com with SMTP id z10so4628681wrs.2 for ; Fri, 22 May 2020 09:38: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=ayYt1Ea2Fu4jbjVFOEMFt2ZpQaauJEy+tLrlEAT4PafuPoYS/Glhlsgg8zWgn000nA +01j14PBZNPmpleeJTQNSHIfpmv/VNuksNgQS4mlNLc81Nwdu/dTgUTyALJR/h4tgoZU PlbAANMle64mnJ+4NzdXQXB7xLxP2KJC9dG2ph+zQwofANa3DeLTqWMAZ57bFYt4r+0P ioEJ/9Scp9YJZsClxbozV3W3Typcn64Qb272rEwFIMbonwnkw3kGrWmp/fyiLNKdxvlf lL2DTEqR6S2kErSR6ws/4/uxGXTor/B5NWE/tN+1WZSH5kNJIKam7bne/7yWQ48OdN9l NLeQ== X-Gm-Message-State: AOAM530in1trEZtwVSYZQcTB0qhBuPh8xk9E6nSX1qobqoANArrt9WKz UB0WC0Tz+XIkJ6iCGTXHE44XXSyLe4rbBTh1/Uj5anaPIAu7yGZhnkFIFh255WZYeWLWEGSEKnJ A9adgKjLhsLmqkN0= X-Received: by 2002:a1c:9cd5:: with SMTP id f204mr6918305wme.105.1590165526149; Fri, 22 May 2020 09:38:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWqp3YzehbkUiZ8TwUxgyRRR//DUuhBImcSYFEzd/qfM/etor216MtsEWf0aeuLa+gQ6nfyA== X-Received: by 2002:a1c:9cd5:: with SMTP id f204mr6918291wme.105.1590165525945; Fri, 22 May 2020 09:38:45 -0700 (PDT) Received: from localhost.localdomain (17.red-88-21-202.staticip.rima-tde.net. [88.21.202.17]) by smtp.gmail.com with ESMTPSA id p9sm9923994wrj.29.2020.05.22.09.38.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 May 2020 09:38:45 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v4 10/11] Makefile: Allow target-specific optional Kconfig Date: Fri, 22 May 2020 18:37:58 +0200 Message-Id: <20200522163759.11480-11-philmd@redhat.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200522163759.11480-1-philmd@redhat.com> References: <20200522163759.11480-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.81; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-1.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/22 11:12:54 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, 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 \