From patchwork Thu Oct 20 11:52:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 616764 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp298461pvb; Thu, 20 Oct 2022 07:26:33 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5k/eAihLgPiDwxRTMjDbcXhwmN9W9DHyxwOX4dDRbIEExUyxjGp26sqg/tZgzLwnT2E665 X-Received: by 2002:a05:6214:29e3:b0:4b3:f368:de31 with SMTP id jv3-20020a05621429e300b004b3f368de31mr11572660qvb.127.1666275993450; Thu, 20 Oct 2022 07:26:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666275993; cv=none; d=google.com; s=arc-20160816; b=oLaV+LmaMtgjVw6MgLTzJeLukQO0wUb4eeACucXk+k9Tdb4l1LTFpvguQr1flprPAR d5XeRni/QI1PrmbbS1U38LkuysFQTYVCJ9+udnANqFG/XTGQ77l4Dpho56GbWCsQa2fE H4+n8jPYmq3+4t+H4+fjWhUWJrRiq4IguiBAcWG8Uevt/2uChnJFuuGKvPz/s2eu0qBQ MeFD36qkzSbWXQviMNjTRusMER7I+vGZNKs8i4dD3cRMwei4E8+xbNXKe8gSk2YBEenb JkXYpInba3Nhh1ijJU1bpdi/lUewC8Tt43DHpxqKgb+JlKb0XVG4Eg3NNE/zOgJytpqe X0hQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=IOaxiECMeAtcEEimlb1VbYj3g1IJJKw/XxWwWkisLhM=; b=vTua4eVBZzLpVxfnYGzUP0veNYB6pM73NvxXs9gniwk9CHalozCuxHTFLVrMGJCOml dhFpAsv5o1bQuXcKvb8r+OlEFXLdySGpfCQ5oa2MpPm13oI6kPtF7+fzeqFhYj/qOclX nQWYWh1VoQkhpSjM+kvtnxiDZ0musc8M70npMl7QBtA1zSF7ckFOjPKY2djyGK7S7/t2 waZVYFiU+CI/wWcx6g5Ly/xRr41pPzuHIQHqKat3HXsnvgc2/ZqsmZJugdfunbWjcOVQ vnT+TDCQulUf04HxYZhji/yJGeebyEeMxUEWiD+4bicY/RO03uFQYuzJfq9CZ5uTVpm2 SnJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZSv1w3SB; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id b9-20020a05622a020900b0039cc76d526bsi11536954qtx.322.2022.10.20.07.26.33 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 20 Oct 2022 07:26:33 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZSv1w3SB; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:36978 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olWVD-0003sc-TR for patch@linaro.org; Thu, 20 Oct 2022 10:26:32 -0400 Received: from [::1] (helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olWTd-00023N-CY for patch@linaro.org; Thu, 20 Oct 2022 10:24:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41490) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1olU7L-0004Wa-7U for qemu-devel@nongnu.org; Thu, 20 Oct 2022 07:53:43 -0400 Received: from mail-pg1-x529.google.com ([2607:f8b0:4864:20::529]:40566) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1olU7B-0000xt-OL for qemu-devel@nongnu.org; Thu, 20 Oct 2022 07:53:42 -0400 Received: by mail-pg1-x529.google.com with SMTP id l6so18990113pgu.7 for ; Thu, 20 Oct 2022 04:53:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=IOaxiECMeAtcEEimlb1VbYj3g1IJJKw/XxWwWkisLhM=; b=ZSv1w3SBmOhX8Pbn6YFIQrs1Odl9xn5ZnBhaX4vNS6yzhjIp0btGxJ8TffyskFur7f CN1pZ5v9GDSY6UfndqW/GQ8sV9ELxKG/oRNA2HZb4R6LJpFB2mbNQrjXBZe/QHekTiIr fAgEedbBs8adSK4wCmM0mhGljIGKPHvi5TaM1cB/K+yApUyJsmL6dWE4d37ABkgUpW35 5rM6eeaYd6t8sWDLRfl+bFM/oHaBYfYgFgUQf9VZLDZZlaxnKF+0g6FAwU3LMUv3ijp/ VbuurrMrl6TYNLwZQU5YiBAuqoS2XIgP4OBQzK+GxqU4NsyA7gaCiBkjxJ5a6mkc08/r XflA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IOaxiECMeAtcEEimlb1VbYj3g1IJJKw/XxWwWkisLhM=; b=J9bqz5IKGxg6xLjDcFgo+HaOFwXoUWY6fCDRaySFXiM/JghE5fhonAwxttHp8EVCfq kkbXp6c7E7OfMm4+OInjS5FWBTuSGQGEENSZz/m+hAFCorhr/aRnTmldWtwqCf5EOMPJ CJXL1WMOSa43US84RXR8W+jhtbCNMgjJzyv+n098WC3zC6GuJImMJuRx8IclnF2yMBjR GYSRwyvDpukY7lLKjR91mw83nVrUScrf2UqgcKaNEwxBpdRCLaxGxPlbaU691MyQRapL cv2pKj1tAhSs2DXEhMpIDrqgTxhUHJOJ4G9dChYCaAfrrhh77cg6AbhAGmVPdZtPKP9S RYSA== X-Gm-Message-State: ACrzQf33obznNc19dGpn9PTJCrrxLG2l/ywRdVwQkJ/J1eE8fODASo19 f0XDGRWGBSI8mgpAVQCbIFxv3M+6ODQDxrkm X-Received: by 2002:a62:3206:0:b0:562:524a:ed55 with SMTP id y6-20020a623206000000b00562524aed55mr13942569pfy.0.1666266812249; Thu, 20 Oct 2022 04:53:32 -0700 (PDT) Received: from localhost.localdomain ([149.135.10.35]) by smtp.gmail.com with ESMTPSA id w206-20020a627bd7000000b0056109e15638sm13065464pfc.54.2022.10.20.04.53.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Oct 2022 04:53:31 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH 05/31] meson: Move CONFIG_TCG_INTERPRETER to config_host Date: Thu, 20 Oct 2022 21:52:16 +1000 Message-Id: <20221020115242.2301066-6-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221020115242.2301066-1-richard.henderson@linaro.org> References: <20221020115242.2301066-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::529; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x529.google.com 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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Like CONFIG_TCG, the enabled method of execution is a host property not a guest property. This exposes the define to compile-once files. Signed-off-by: Richard Henderson --- meson.build | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/meson.build b/meson.build index 1ec3f72edc..64c87d45a5 100644 --- a/meson.build +++ b/meson.build @@ -469,6 +469,7 @@ if get_option('tcg').allowed() endif if get_option('tcg_interpreter') tcg_arch = 'tci' + config_host += { 'CONFIG_TCG_INTERPRETER': 'y' } elif host_arch == 'x86_64' tcg_arch = 'i386' elif host_arch == 'ppc64' @@ -2507,9 +2508,6 @@ foreach target : target_dirs if sym == 'CONFIG_TCG' or target in accelerator_targets.get(sym, []) config_target += { sym: 'y' } config_all += { sym: 'y' } - if sym == 'CONFIG_TCG' and tcg_arch == 'tci' - config_target += { 'CONFIG_TCG_INTERPRETER': 'y' } - endif if target in modular_tcg config_target += { 'CONFIG_TCG_MODULAR': 'y' } else