From nobody Sat Oct 4 20:33:22 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.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 216.205.24.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=1601988984; cv=none; d=zohomail.com; s=zohoarc; b=FU5JCP4Fr0gzFyCIZO8lAoK9DBzlX2x6Wk6zvpPOCI9TPrBELp4OYe4p+oaNFCv1BWbYmA5fVTAHyrq49CDxn3wMMeWKTIXoUImfbtVi3iqH9yASf9AGnK9Hueobz10c/wELGCGbHuCwGZN8YwnyRq3meQKwOm18BChAKmkDyXQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1601988984; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=iu4VFbji1NYalAxtgTpGrAQFcSu9AmIxH2mbp91RPjA=; b=bv/jFPMmeMWqB88INtvUjqMAvN/nohosODOo4QtDuv0p9H/RBB2TKkUtNCpZH5QbBfPMoQvNnTi1Y9gTNNc/jTeKKJO1gJcpzxtBYaz01G+Gbra5alYEDBEoky+IuX++e49lvGO/smx7u20gMdW2FPERKFYn59DKxyiuyuU6vZs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.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 [216.205.24.124]) by mx.zohomail.com with SMTPS id 1601988984879881.8757962222531; Tue, 6 Oct 2020 05:56:24 -0700 (PDT) Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-501-3ov-ImReOr-F1YkXBmhvsw-1; Tue, 06 Oct 2020 08:56:21 -0400 Received: by mail-wm1-f70.google.com with SMTP id 73so662387wma.5 for ; Tue, 06 Oct 2020 05:56:21 -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 b8sm3850769wmb.4.2020.10.06.05.56.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Oct 2020 05:56:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1601988983; 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=iu4VFbji1NYalAxtgTpGrAQFcSu9AmIxH2mbp91RPjA=; b=J4//7uzEX/KmoYjD+2JGXEDuprBdlpOpAPHOwEikUjQ0F9C2lbjX6Q3UcG4yrU/iB+cs+q ktXxOB9cWLf+lDFIH0ERGTAKoE4mvtB7pg92ZTrbdYJCc/AExhSa/FWAAQNHFajQjwC+qX oG2nuRpCV/BWpzofy2KcotWLoy2/o/k= X-MC-Unique: 3ov-ImReOr-F1YkXBmhvsw-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=iu4VFbji1NYalAxtgTpGrAQFcSu9AmIxH2mbp91RPjA=; b=n53sc2O7fS6BSv2cy2nM1WciVre8pBKJwSgY3xtEliChLdi7lB2BwXP6aYeI65e/bT gOOvh0phiVxFu6RVyOhnYNWK0SVrr5J2LU/QKZSeaNtPoPa2p7V1W9pulq/VqXrfn+rI JVjeqLy0tbeHByBleosULLlWoAsWH2BXQoRJxhmdfhSc2zuqeAlWbasZABHvkL/8YXea KniWwVYlDK9lY4P5yfM8/0RaNKpPbRtqPFmYU69GWdlsRhWumAaF+krePRSFfBVTqHYO V2rev7QIsdPMclbifOYMgEwGry71e9STRNXhcR693mdi3DMXUk5D1k1J6mWWjsSM88dG Pmaw== X-Gm-Message-State: AOAM533WbLorjHCKp2gvw9wzIQrHkBOqAVKzfdA0mdvq4iKg4DVorita XeZe7LHzfWyb340Xv64C8e7wY1O97GPgM55zfP6BdlSjhNfuB3TRRiC8Hq/Nqci4rJ/7A5MWM24 1kLyTDexeHKtAfg== X-Received: by 2002:adf:f584:: with SMTP id f4mr4590304wro.383.1601988980104; Tue, 06 Oct 2020 05:56:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+WUzcbY4Qb1+NBLQViKKYuMdVWkEAjiUpRbAfy8WJwU2jgXQJd/r6+HrmRrPY5XIl/x7DLg== X-Received: by 2002:adf:f584:: with SMTP id f4mr4590284wro.383.1601988979900; Tue, 06 Oct 2020 05:56:19 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: "Dr. David Alan Gilbert" , Juan Quintela , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Paolo Bonzini , Eduardo Habkost , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH v2 3/9] hw/core: Move the creation of the library to the main meson.build Date: Tue, 6 Oct 2020 14:55:56 +0200 Message-Id: <20201006125602.2311423-4-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201006125602.2311423-1-philmd@redhat.com> References: <20201006125602.2311423-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 | 6 ++++++ hw/core/meson.build | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/meson.build b/meson.build index 60497f5615..47eb7d3709 100644 --- a/meson.build +++ b/meson.build @@ -1346,6 +1346,12 @@ libqmp =3D static_library('qmp', qmp_ss.sources() + = genh, =20 qmp =3D declare_dependency(link_whole: [libqmp]) =20 +libhwcore =3D static_library('hwcore', sources: hwcore_files + genh, + name_suffix: 'fa', + build_by_default: false) +hwcore =3D declare_dependency(link_whole: libhwcore) +common_ss.add(hwcore) + ########### # Targets # ########### diff --git a/hw/core/meson.build b/hw/core/meson.build index fc91f98075..4a744f3b5e 100644 --- a/hw/core/meson.build +++ b/hw/core/meson.build @@ -14,12 +14,6 @@ hwcore_files =3D files( 'qdev-clock.c', ) =20 -libhwcore =3D static_library('hwcore', sources: hwcore_files + genh, - name_suffix: 'fa', - build_by_default: false) -hwcore =3D declare_dependency(link_whole: libhwcore) -common_ss.add(hwcore) - common_ss.add(files('cpu.c')) common_ss.add(when: 'CONFIG_FITLOADER', if_true: files('loader-fit.c')) common_ss.add(when: 'CONFIG_GENERIC_LOADER', if_true: files('generic-loade= r.c')) --=20 2.26.2