From mboxrd@z Thu Jan 1 00:00:00 1970 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=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,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 1F4E7C433B4 for ; Sun, 18 Apr 2021 23:04:51 +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 B6722610C7 for ; Sun, 18 Apr 2021 23:04:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B6722610C7 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=amsat.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:34596 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYGTB-0000oF-Pl for qemu-devel@archiver.kernel.org; Sun, 18 Apr 2021 19:04:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39924) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYGGd-00034W-Aj for qemu-devel@nongnu.org; Sun, 18 Apr 2021 18:51:51 -0400 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:34568) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lYGGb-0000eM-UK for qemu-devel@nongnu.org; Sun, 18 Apr 2021 18:51:51 -0400 Received: by mail-wm1-x332.google.com with SMTP id n10-20020a05600c4f8ab0290130f0d3cba3so4186031wmq.1 for ; Sun, 18 Apr 2021 15:51:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=cJdBKLIJjo1FmzN1QJg7i4Ge0av2J5mMxKO6UU2xPVo=; b=oLru24v/zcZWzUaNRH1jCGVsMjsheo/erIlq+h/g0NMuvdm4JbgxexJMzOxBboW5kc MI+u4m3l9CCsDiy0/boI3SLc67qzl82pR1zdT7YM/hwzt4GA0H40ez5Q9E8QklwrqEL5 BJdjpJtWRz8Uv70lLkCVZdplG54IBfyyrV8zFyuKQU6zujlsnR9ng1fHKCLNI3TMMHht hd0KRgtMg8IuK6G0anYRGNxW1bJ75XiM/E0MnupehQby4v9jH0eebqEDHsvSBgIPDJeW NmONNKJSXOKA1n6GWTy3oVV4vRp+0ts73RHVcZK2ot9N2NH0iFFbV8Y/Lcl9htB4YNx5 IW7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=cJdBKLIJjo1FmzN1QJg7i4Ge0av2J5mMxKO6UU2xPVo=; b=K/YXMehczczI9XAf0fUrvFmAqj2O69XkQkQojtAg/dZ/YCnnK9eG45ALxX+PMy7uZH DG6HfuEQpl70rGDDpxN/AFKf2cBp2Lo4hVOa9Aqch/R+Nw0Zo9r+Lr7Rnoj7NxFhtVOR iP61JqpOvGNf4hJiVrrO2PZcqGmr+HPdI0nPRR94gwQves8oOodxw4OSQtO0nKKMyLzT GcACGCABIuKuR37jZAvvcJ1yqsDPcBy2Dj3hAaBqIrQT+unKTK4Fqjc03kOtS25OgI+k FrMDOQCg4CsVmynzJqOdyg+s4lFE9em7AF6aREmCUBnatHn3H87lZIGcWADxuVjZ86Qu dBwA== X-Gm-Message-State: AOAM533NQni/ulq9ft2Hx2fn7HOoGiHAFDcpL711U057+OW2DvsEp7Fq DbZB2pHh12YpZnyEGr3NHDmQTjkxoWd5bg== X-Google-Smtp-Source: ABdhPJxZw8CHQt0JuPprvDTIQus1iPDp13zHWwYjySmSpmEySKmc5fteRKbBr6Np7dGG5G2NDpzCWw== X-Received: by 2002:a1c:23d0:: with SMTP id j199mr18698947wmj.74.1618786308414; Sun, 18 Apr 2021 15:51:48 -0700 (PDT) Received: from localhost.localdomain (39.red-81-40-121.staticip.rima-tde.net. [81.40.121.39]) by smtp.gmail.com with ESMTPSA id u6sm19127327wml.23.2021.04.18.15.51.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Apr 2021 15:51:47 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v2 10/29] meson: Introduce meson_user_arch source set for arch-specific user-mode Date: Mon, 19 Apr 2021 00:50:39 +0200 Message-Id: <20210418225058.1257014-11-f4bug@amsat.org> X-Mailer: git-send-email 2.26.3 In-Reply-To: <20210418225058.1257014-1-f4bug@amsat.org> References: <20210418225058.1257014-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wm1-x332.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no 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: Aleksandar Rikalo , Huacai Chen , Richard Henderson , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Paolo Bonzini , Aurelien Jarno Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Similarly to the 'target_softmmu_arch' source set which allows to restrict target-specific sources to system emulation, add the equivalent 'target_user_arch' set for user emulation. Reviewed-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé --- v2: meson_user_arch -> target_user_arch in description (rth) Cc: Paolo Bonzini --- meson.build | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meson.build b/meson.build index d8bb1ec5aa9..1ffdc9e6c4e 100644 --- a/meson.build +++ b/meson.build @@ -1751,6 +1751,7 @@ hw_arch = {} target_arch = {} target_softmmu_arch = {} +target_user_arch = {} ############### # Trace files # @@ -2168,6 +2169,11 @@ abi = config_target['TARGET_ABI_DIR'] target_type='user' qemu_target_name = 'qemu-' + target_name + if arch in target_user_arch + t = target_user_arch[arch].apply(config_target, strict: false) + arch_srcs += t.sources() + arch_deps += t.dependencies() + endif if 'CONFIG_LINUX_USER' in config_target base_dir = 'linux-user' target_inc += include_directories('linux-user/host/' / config_host['ARCH']) -- 2.26.3