From nobody Sun Nov 16 23:02:11 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1601982781; cv=none; d=zohomail.com; s=zohoarc; b=d4fkoa4YjLu5FFUt/5i+C5l33mga9al8y92mwCia9rH5rv9gOfd9mrtaLaQUfcQzIchS9EuUNJNElJMz/AksDZvkZ+Ql80iW29uG4uAESzW5lFjaw2vr7FsPrliv1ifSLFkUY34tWk49mNqf65IYU7hSMXfawbkQP/LvO1JErd8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1601982781; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=kZn95L6kUsLR6YDfNvagiwYZibhPsdA0FOVQExAddoU=; b=QpZ8gSHqC3bJsA3QNOEcNPXi/5mYC97Vgb2hHir8yRwxLCpBRshAUUzDtaLKNCAKPalEs3NO6nJrLSLv/0KB0UapUdYp40oVKkkmyUjY3armiUWymuit/UIDxC97WSCFPwXusHqM24qugu4nyPQOvaYOaiCIngxsXUS4w7j3k3Y= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mx.zohomail.com with SMTPS id 1601982781044845.9861435113511; Tue, 6 Oct 2020 04:13:01 -0700 (PDT) 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-320-nYCYtQBjOhC3U5bDt70qDQ-1; Tue, 06 Oct 2020 07:12:58 -0400 Received: by mail-wr1-f71.google.com with SMTP id f11so3016937wro.15 for ; Tue, 06 Oct 2020 04:12:57 -0700 (PDT) Return-Path: Return-Path: Received: from x1w.redhat.com (106.red-83-59-162.dynamicip.rima-tde.net. [83.59.162.106]) by smtp.gmail.com with ESMTPSA id a17sm4063654wra.29.2020.10.06.04.12.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Oct 2020 04:12:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1601982779; 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=kZn95L6kUsLR6YDfNvagiwYZibhPsdA0FOVQExAddoU=; b=h1zOXEv8l1/XHgPm7JLRj6xCnn5dZIOBJ4ZPDOAMA7uxZiOaHcuRitjyUTErumA7VYfluC 9yKKrSVId8uJ9AbuCgOetABEU3j4StlvSv8neJU2lHeyqiEO2d1AbXQqM1UtuRo/kTVyzW x9GDBNfe+dTTNgIjUB5qC6id4LeBe4c= X-MC-Unique: nYCYtQBjOhC3U5bDt70qDQ-1 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=kZn95L6kUsLR6YDfNvagiwYZibhPsdA0FOVQExAddoU=; b=ntEJ/BzjMBfkMpvad81ZIbGHIzjAQUyFcImhypPuP/Hg1WmWdabGP4ed+KIM/o0C78 UgHt4FYifDuo5AS2351jpOjTaquuWJXMF+UNBDOmRVhOy7OW2OjOnVqhGRWvgjxCQQXl e2PJBH6eOqW/yRBljexOOuIyNpy3n2I2YrLi7FQgQl5kwX6laF+H1dh16jRr25klcA1s TtIyp7Hf3RTE+9osnZd9xbkTtK7t5P5OXH5vdxbUkA3eBc4SYtt/3XGS0DRFPbda1l41 pitxq88NHk7QC+pTVkZicjF+acTRnLlaYL6HBfnoeklETy/kWwAhVXDmsS3iD0wwL2rM s35Q== X-Gm-Message-State: AOAM530IS2PXBqLtaLRuBo+GDlbmRRwnsmlDayRRy8TXri8izNEQuhlM zZA6+X3Q8RXul8mesqmpif/msFSvCRVcPM/QnDBVK0LANRAKHK3VbvvNvLOz+9pNcpSRnRTVIWD xOjmH8dzDSyuRoQ== X-Received: by 2002:a05:600c:2159:: with SMTP id v25mr4507355wml.180.1601982776502; Tue, 06 Oct 2020 04:12:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzCqSBFskFiADjiN4Pc7xQWdQivth2NlmZ5Ob4Em3X1XDJJqOZhhZo1aViSo2LgL+HMbfGBLA== X-Received: by 2002:a05:600c:2159:: with SMTP id v25mr4507335wml.180.1601982776271; Tue, 06 Oct 2020 04:12:56 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Paolo Bonzini , "Dr. David Alan Gilbert" , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Juan Quintela , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Eduardo Habkost , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 07/10] io: Move the creation of the library to the main meson.build Date: Tue, 6 Oct 2020 13:12:16 +0200 Message-Id: <20201006111219.2300921-8-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201006111219.2300921-1-philmd@redhat.com> References: <20201006111219.2300921-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Be consistent creating all the libraries in the main meson.build file. Suggested-by: Paolo Bonzini Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- meson.build | 10 ++++++++++ io/meson.build | 10 ---------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/meson.build b/meson.build index 55966c3b60..70545efd74 100644 --- a/meson.build +++ b/meson.build @@ -1064,6 +1064,7 @@ block_ss =3D ss.source_set() bsd_user_ss =3D ss.source_set() chardev_ss =3D ss.source_set() common_ss =3D ss.source_set() +io_ss =3D ss.source_set() linux_user_ss =3D ss.source_set() qmp_ss =3D ss.source_set() softmmu_ss =3D ss.source_set() @@ -1328,6 +1329,15 @@ qemu_syms =3D custom_target('qemu.syms', output: 'qe= mu.syms', # Library dependencies # ######################## =20 +io_ss =3D io_ss.apply(config_host, strict: false) +libio =3D static_library('io', io_ss.sources() + genh, + dependencies: [io_ss.dependencies()], + link_with: libqemuutil, + name_suffix: 'fa', + build_by_default: false) + +io =3D declare_dependency(link_whole: libio, dependencies: [crypto, qom]) + libmigration =3D static_library('migration', sources: migration_files + ge= nh, name_suffix: 'fa', build_by_default: false) diff --git a/io/meson.build b/io/meson.build index 768c1b5ec3..bcd8b1e737 100644 --- a/io/meson.build +++ b/io/meson.build @@ -1,4 +1,3 @@ -io_ss =3D ss.source_set() io_ss.add(genh) io_ss.add(files( 'channel-buffer.c', @@ -14,12 +13,3 @@ io_ss.add(files( 'net-listener.c', 'task.c', )) - -io_ss =3D io_ss.apply(config_host, strict: false) -libio =3D static_library('io', io_ss.sources() + genh, - dependencies: [io_ss.dependencies()], - link_with: libqemuutil, - name_suffix: 'fa', - build_by_default: false) - -io =3D declare_dependency(link_whole: libio, dependencies: [crypto, qom]) --=20 2.26.2