From nobody Fri May 3 21:36:36 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1578584513; cv=none; d=zohomail.com; s=zohoarc; b=gbZJVtcImyV4VRjJNlg+t+ZlYMoBKHGAKNF9/Q0Fv41LwmU7FldDOK8tJMDNqzRp6lp3rNafFgLFNBVKNXIJ15OqF/2p/eo+6whJZlpCvHQXRisUQJCOGP5AaMHMdq3FRXfB+v1yqPjs6EO/sO8uqigNDyAKHsPzS75KywT5dDM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1578584513; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=9HO//71iXE8OmCJAAIB/90n/Er377gGIQDqUFgv6iRs=; b=JTpAEq1vEMuWNS0235GDze6Ei4KJqA+T9mO2L0V8r3wTnlGIBFLmIsPIvoA8hnV6mbKGeQ7PUK4K5KQmfFCSDHnCgDClcVVt017ls75KPSsVCsoN5y+5Y/muO+EaBsoh4UuqBST//oeRnvMTTUEbpqATiX4OnYzAkQ3nBPvCZZc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1578584513026940.4186525307399; Thu, 9 Jan 2020 07:41:53 -0800 (PST) Received: from localhost ([::1]:34390 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipZwV-0008GJ-D6 for importer@patchew.org; Thu, 09 Jan 2020 10:41:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:32950) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipZuh-0006VW-4u for qemu-devel@nongnu.org; Thu, 09 Jan 2020 10:40:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ipZuf-00025u-U7 for qemu-devel@nongnu.org; Thu, 09 Jan 2020 10:39:59 -0500 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:58001 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ipZuf-00021x-GJ for qemu-devel@nongnu.org; Thu, 09 Jan 2020 10:39:57 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-287-MXzn9x3rPEax8bXZYCLLaA-1; Thu, 09 Jan 2020 10:39:55 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id E366F8E9DC4; Thu, 9 Jan 2020 15:39:53 +0000 (UTC) Received: from x1w.redhat.com (ovpn-204-180.brq.redhat.com [10.40.204.180]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 3DD8086CB5; Thu, 9 Jan 2020 15:39:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1578584396; 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=9HO//71iXE8OmCJAAIB/90n/Er377gGIQDqUFgv6iRs=; b=Q0wPHgy+2o4acOi6Wum/K0jJ0GaQf/drdf25TsOSW5gZ2gXgPem+4Ir7zsLtxsksTUzEg3 9Y9xDQJIOzgtrgzednj54nodxqVo5n7HEbIYwmP0aCyEf8rt6Sx9vJL3z6kk6g/kXsZ2y7 3app9xiH2pUcQ8LyRwtUPXxvS2ioE0w= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH 1/4] configure: Do not build libfdt is not required Date: Thu, 9 Jan 2020 16:39:36 +0100 Message-Id: <20200109153939.27173-2-philmd@redhat.com> In-Reply-To: <20200109153939.27173-1-philmd@redhat.com> References: <20200109153939.27173-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-MC-Unique: MXzn9x3rPEax8bXZYCLLaA-1 X-Mimecast-Spam-Score: 0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 207.211.31.120 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: Thomas Huth , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Laurent Vivier , Paolo Bonzini , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Richard Henderson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" We only require libfdt for system emulation, in a small set of architecture: 4077 # fdt support is mandatory for at least some target architectures, 4078 # so insist on it if we're building those system emulators. 4079 fdt_required=3Dno 4080 for target in $target_list; do 4081 case $target in 4082 aarch64*-softmmu|arm*-softmmu|ppc*-softmmu|microblaze*-softmmu|mi= ps64el-softmmu|riscv*-softmmu) 4083 fdt_required=3Dyes Do not build libfdt if we did not manually specified --enable-fdt. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Alistair Francis Reviewed-by: Thomas Huth --- configure | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure b/configure index 0ce2c0354a..266a8386d1 100755 --- a/configure +++ b/configure @@ -4092,6 +4092,8 @@ if test "$fdt_required" =3D "yes"; then "targets which need it (by specifying a cut down --target-list)." fi fdt=3Dyes +elif test "$fdt" !=3D "yes" ; then + fdt=3Dno fi =20 if test "$fdt" !=3D "no" ; then --=20 2.21.1 From nobody Fri May 3 21:36:36 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1578584750; cv=none; d=zohomail.com; s=zohoarc; b=OI4fpCmaAqB3WRpKSM+MI0e8tNYw7Iy7Ksm6QeJqChLAS/v+6DM71AbZvDtG2sC20tYXTQBgSV7PRtRQI1isWnleauEbI3LRTHO40ar8pnvhGbOq3QWYZ5734F1B6PqRI036wZWft1bklpP4XCdJYepWftRWaODJcFUKwrqrcf8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1578584750; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=5zhOhvEQYQgUim1shmmIdvB0/IgzwY3sRGi/2inNpnA=; b=k9PhgfRO6UhugPSr7BqJZowHJfQXPVKAaWkX3PRMcNAQwHJl61PcxSCoyW2S8jirxeVHzNZ3e0Kw//GyKyCFeRjv4F493TX+0LnQGSEhRnBAUZzQfzPmCh3sFGJo/aR5jv0fSciRAkVuk9n6/D4oV+HF0RqSh/tZaIivlF3JGx0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1578584750886870.1916585971979; Thu, 9 Jan 2020 07:45:50 -0800 (PST) Received: from localhost ([::1]:34462 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipa0L-0005N9-Q4 for importer@patchew.org; Thu, 09 Jan 2020 10:45:49 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33724) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipZuq-0006oa-IS for qemu-devel@nongnu.org; Thu, 09 Jan 2020 10:40:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ipZup-0002rZ-Bl for qemu-devel@nongnu.org; Thu, 09 Jan 2020 10:40:08 -0500 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:51378 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ipZup-0002or-6T for qemu-devel@nongnu.org; Thu, 09 Jan 2020 10:40:07 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-388--qDzSktSPCOu1QUlw7UJ_g-1; Thu, 09 Jan 2020 10:40:03 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 3FCDC12DE2B; Thu, 9 Jan 2020 15:40:02 +0000 (UTC) Received: from x1w.redhat.com (ovpn-204-180.brq.redhat.com [10.40.204.180]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 75DB686CB8; Thu, 9 Jan 2020 15:39:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1578584406; 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=5zhOhvEQYQgUim1shmmIdvB0/IgzwY3sRGi/2inNpnA=; b=hlJYQm4FnDII1xOtcrRCRBqkFODagB7qxosxdC/eeg4ezs3SzfWI2uvkMWcChNbiTbH8O7 gnu4ByQX5V0l/bqmekVYdkJ1NqtjhIs9GECX0ZHFwqtIdtsujsVY+uDcAQu18gizIGNEZ+ uFfzFA8WVlSgWGn0NQ9uz6K/Wi0pNHE= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH 2/4] Makefile: Clarify all the codebase requires qom/ objects Date: Thu, 9 Jan 2020 16:39:37 +0100 Message-Id: <20200109153939.27173-3-philmd@redhat.com> In-Reply-To: <20200109153939.27173-1-philmd@redhat.com> References: <20200109153939.27173-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-MC-Unique: -qDzSktSPCOu1QUlw7UJ_g-1 X-Mimecast-Spam-Score: 0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 205.139.110.120 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: Thomas Huth , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Laurent Vivier , Paolo Bonzini , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Richard Henderson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" QEMU user-mode also requires the qom/ objects, it is not only used by "system emulation and qemu-img". As we will use a big if() block, move it upper in the "Common libraries for tools and emulators" section. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Thomas Huth --- Makefile.objs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Makefile.objs b/Makefile.objs index 7c1e50f9d6..5aae561984 100644 --- a/Makefile.objs +++ b/Makefile.objs @@ -2,6 +2,7 @@ # Common libraries for tools and emulators stub-obj-y =3D stubs/ util-obj-y =3D crypto/ util/ qobject/ qapi/ +qom-obj-y =3D qom/ =20 chardev-obj-y =3D chardev/ =20 @@ -26,11 +27,6 @@ block-obj-m =3D block/ =20 crypto-obj-y =3D crypto/ =20 -####################################################################### -# qom-obj-y is code used by both qemu system emulation and qemu-img - -qom-obj-y =3D qom/ - ####################################################################### # io-obj-y is code used by both qemu system emulation and qemu-img =20 --=20 2.21.1 From nobody Fri May 3 21:36:36 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1578584615; cv=none; d=zohomail.com; s=zohoarc; b=AulxbpL7gjtshOM+4gCRzF5SYhHIyFik/rEBV9z9ctPP3S2G3ZT7O2D7s7wfIOF3kFcIwHJ0BfpenS6/MZh//V15+B7p7Yrs+vY2u5Lvn2Pkzv+kKVxVM77IGtD9IBwwP/R4GCq0A+niNybMbSkEeK23aqM5OXD7YBzRLiob/R0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1578584615; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=uvMUId5CAgve5E5mWjadx78NUWbTZqBc9nfElX7Eg10=; b=NuBoHU6FfXb0cueLKcGzBYF+UU4Lwz47oC1Ka7P/ZoRNS1jG4NB5/5ClFJou03ZvgcX0t1jZlfG2XPxGGa15g+mAsHRuZ6YQlaU+H+2R45tQSi0aiMR1RZcOJ1MHm6v0CzKE8G/lWhE0qZNjrbYqipTOD6kTYhfXaRGP0fLKJuY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1578584615103383.70681401153536; Thu, 9 Jan 2020 07:43:35 -0800 (PST) Received: from localhost ([::1]:34418 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipZy9-0002ys-Ux for importer@patchew.org; Thu, 09 Jan 2020 10:43:33 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34808) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipZv2-0007DJ-MZ for qemu-devel@nongnu.org; Thu, 09 Jan 2020 10:40:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ipZv1-0003qw-9k for qemu-devel@nongnu.org; Thu, 09 Jan 2020 10:40:20 -0500 Received: from us-smtp-2.mimecast.com ([205.139.110.61]:28641 helo=us-smtp-delivery-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ipZv0-0003mv-Vt for qemu-devel@nongnu.org; Thu, 09 Jan 2020 10:40:19 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-140-jwR0XzlnPp2phPzFg0i5-w-1; Thu, 09 Jan 2020 10:40:15 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 1EB4F8C0C40; Thu, 9 Jan 2020 15:40:14 +0000 (UTC) Received: from x1w.redhat.com (ovpn-204-180.brq.redhat.com [10.40.204.180]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B710687EC5; Thu, 9 Jan 2020 15:40:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1578584418; 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=uvMUId5CAgve5E5mWjadx78NUWbTZqBc9nfElX7Eg10=; b=UKvc+0Fo/RxCTOzVQvcKJ7h+cIyXc9kqvryWKyuKb4XCHJuQbJ3D4qlL84FY48aIVQ3w7V hhdm4u+pyaMU3mIqBIu37jjSWD/p+APd4FjTQ5AwgGpDGtFpcv3M9ScRmHkp/VSpMVIbyq e8l+DYZID0xskUi+k8buxLXRhBU5qGo= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH 3/4] Makefile: Restrict system emulation and tools objects Date: Thu, 9 Jan 2020 16:39:38 +0100 Message-Id: <20200109153939.27173-4-philmd@redhat.com> In-Reply-To: <20200109153939.27173-1-philmd@redhat.com> References: <20200109153939.27173-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-MC-Unique: jwR0XzlnPp2phPzFg0i5-w-1 X-Mimecast-Spam-Score: 0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 205.139.110.61 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: Thomas Huth , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Laurent Vivier , Paolo Bonzini , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Richard Henderson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" Restrict all the system emulation and tools objects with a Makefile IF (CONFIG_SOFTMMU OR CONFIG_TOOLS) check. Using the same description over and over is not very helpful. Use it once, just before the if() block. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Thomas Huth --- Makefile.objs | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/Makefile.objs b/Makefile.objs index 5aae561984..395dd1e670 100644 --- a/Makefile.objs +++ b/Makefile.objs @@ -4,16 +4,15 @@ stub-obj-y =3D stubs/ util-obj-y =3D crypto/ util/ qobject/ qapi/ qom-obj-y =3D qom/ =20 +####################################################################### +# code used by both qemu system emulation and qemu-img + +ifeq ($(call lor,$(CONFIG_SOFTMMU),$(CONFIG_TOOLS)),y) + chardev-obj-y =3D chardev/ =20 -####################################################################### -# authz-obj-y is code used by both qemu system emulation and qemu-img - authz-obj-y =3D authz/ =20 -####################################################################### -# block-obj-y is code used by both qemu system emulation and qemu-img - block-obj-y =3D nbd/ block-obj-y +=3D block.o blockjob.o job.o block-obj-y +=3D block/ scsi/ @@ -22,16 +21,12 @@ block-obj-$(CONFIG_REPLICATION) +=3D replication.o =20 block-obj-m =3D block/ =20 -####################################################################### -# crypto-obj-y is code used by both qemu system emulation and qemu-img - crypto-obj-y =3D crypto/ =20 -####################################################################### -# io-obj-y is code used by both qemu system emulation and qemu-img - io-obj-y =3D io/ =20 +endif # CONFIG_SOFTMMU or CONFIG_TOOLS + ###################################################################### # Target independent part of system emulation. The long term path is to # suppress *all* target specific code in case of system emulation, i.e. a --=20 2.21.1 From nobody Fri May 3 21:36:36 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1578584549; cv=none; d=zohomail.com; s=zohoarc; b=M0g5DYDuWtwapVANAFCmiw5pOic3FfDF+730B8kqIE7XBD7jEpCrCR+QzVmTkTQKu9oZQxbXngcwkQZvs+K9jq44AeBN7N42XmoPuKwtIavp30ij3jfC6vWjuEGhlvXivOPHPbs7HjqimkQFo9Ys/IEw01XPfT1Ux3DpZ5JAWKU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1578584549; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=JDfqeVIMdGnCS4eTJugjhOwJVmgpisKHOiVhHALOiSg=; b=CBRvE45cKN9UqQFA5TZmmTQU0ccfzi1pN3l5BixbkRIpaalRGtf2RJ8Y6ES0xY1O+SLzxx2X+IzphvdJzHekru49Qm5Z6EBZEP5OESJrldJU6wWSoqfYaqRX/vX8ITy4Hki9Nj95/9Smwa8ms31+xFP/Tn9ftFsu9iDzhRA5u2g= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1578584549343218.0403814188155; Thu, 9 Jan 2020 07:42:29 -0800 (PST) Received: from localhost ([::1]:34394 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipZx5-0000f3-QY for importer@patchew.org; Thu, 09 Jan 2020 10:42:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35216) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipZv6-0007K7-Oe for qemu-devel@nongnu.org; Thu, 09 Jan 2020 10:40:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ipZv5-0004DF-Pk for qemu-devel@nongnu.org; Thu, 09 Jan 2020 10:40:24 -0500 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:27775 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ipZv5-0004Ah-Jj for qemu-devel@nongnu.org; Thu, 09 Jan 2020 10:40:23 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-254-cbPAk3gTNKCRAJSrpWZP6Q-1; Thu, 09 Jan 2020 10:40:21 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C90B4101FB16; Thu, 9 Jan 2020 15:40:20 +0000 (UTC) Received: from x1w.redhat.com (ovpn-204-180.brq.redhat.com [10.40.204.180]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9E7E786CBB; Thu, 9 Jan 2020 15:40:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1578584423; 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=JDfqeVIMdGnCS4eTJugjhOwJVmgpisKHOiVhHALOiSg=; b=BLHA/X9q8XqBYEOvLEWSrmmL+47U7Dh2IOlOgtJh9hj/qUn4BlMqsRts77W2a+8T6Yti/5 cmIrKm93cSoSZRVfArfeB9GTttltxVLPxNxf/gZD2x/5PUjpV79je728t8q+5XIO7HL7nB UmoKV6lvV6Foz5qXtNBTqGAFWq/F5EE= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH 4/4] Makefile: Remove unhelpful comment Date: Thu, 9 Jan 2020 16:39:39 +0100 Message-Id: <20200109153939.27173-5-philmd@redhat.com> In-Reply-To: <20200109153939.27173-1-philmd@redhat.com> References: <20200109153939.27173-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-MC-Unique: cbPAk3gTNKCRAJSrpWZP6Q-1 X-Mimecast-Spam-Score: 0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 205.139.110.120 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: Thomas Huth , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Laurent Vivier , Paolo Bonzini , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Richard Henderson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" It is pointless to keep qapi/ object separate from the other common-objects. Drop the comment. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Thomas Huth --- Makefile.objs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile.objs b/Makefile.objs index 395dd1e670..c6321d0465 100644 --- a/Makefile.objs +++ b/Makefile.objs @@ -71,11 +71,9 @@ qemu-seccomp.o-libs :=3D $(SECCOMP_LIBS) =20 common-obj-$(CONFIG_FDT) +=3D device_tree.o =20 -###################################################################### -# qapi - common-obj-y +=3D qapi/ -endif + +endif # CONFIG_SOFTMMU =20 ####################################################################### # Target-independent parts used in system and user emulation --=20 2.21.1