From nobody Mon Feb 9 18:18:46 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1516355412728640.6847850268671; Fri, 19 Jan 2018 01:50:12 -0800 (PST) Received: from localhost ([::1]:38577 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ecTJD-0000tA-VV for importer@patchew.org; Fri, 19 Jan 2018 04:50:04 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40947) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ecTAc-00029x-Ib for qemu-devel@nongnu.org; Fri, 19 Jan 2018 04:41:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ecTAZ-0000t1-GY for qemu-devel@nongnu.org; Fri, 19 Jan 2018 04:41:10 -0500 Received: from ozlabs.org ([103.22.144.67]:48175) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ecTAZ-0000sE-4Z for qemu-devel@nongnu.org; Fri, 19 Jan 2018 04:41:07 -0500 Received: by ozlabs.org (Postfix, from userid 1007) id 3zNG5f4Xx7z9s7h; Fri, 19 Jan 2018 20:40:22 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gibson.dropbear.id.au; s=201602; t=1516354822; bh=1ogcuL93TPvZIxVK/6Pww/LmNEey/qTWIWV9WcOJ/44=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iAdgQCW8jWHuco5N7spdyQudlWNV91xV1K0v2v6YIl/pVz0HTQDMsqqtq9646tl4M N+wWQsGXB16Sy+mLhveMUHkgGV3gEsKCpuUHiXsYPktwKZSgZwLr63n6CXzyNJb2gH ILP0/31sH2Z/qbGMprHLOdRd39zprq5kCVP2g54E= From: David Gibson To: peter.maydell@linaro.org Date: Fri, 19 Jan 2018 20:40:05 +1100 Message-Id: <20180119094015.28266-4-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180119094015.28266-1-david@gibson.dropbear.id.au> References: <20180119094015.28266-1-david@gibson.dropbear.id.au> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 103.22.144.67 Subject: [Qemu-devel] [PULL 03/13] hw/ppc/Makefile: Add a way to disable the PPC4xx boards X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: lvivier@redhat.com, qemu-ppc@nognu.org, Thomas Huth , surajjs@au1.ibm.com, agraf@suse.de, qemu-devel@nongnu.org, groug@kaod.org, David Gibson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Thomas Huth We've got the config switch CONFIG_PPC4XX, so we should use it in the Makefile accordingly and only include the PPC4xx boards if this switch has been enabled. (Note: Unfortunately, the files ppc4xx_devs.c and ppc405_uc.c still have to be included in the build anyway to fulfil some complicated linker dependencies ... so these are subject to a more thourough clean-up later) Signed-off-by: Thomas Huth Signed-off-by: David Gibson --- hw/ppc/Makefile.objs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/ppc/Makefile.objs b/hw/ppc/Makefile.objs index 1faff853b7..ad1928c5d8 100644 --- a/hw/ppc/Makefile.objs +++ b/hw/ppc/Makefile.objs @@ -12,8 +12,8 @@ obj-y +=3D spapr_pci_vfio.o endif obj-$(CONFIG_PSERIES) +=3D spapr_rtas_ddw.o # PowerPC 4xx boards -obj-y +=3D ppc405_boards.o ppc4xx_devs.o ppc405_uc.o ppc440_bamboo.o -obj-y +=3D ppc4xx_pci.o +obj-y +=3D ppc4xx_devs.o ppc405_uc.o +obj-$(CONFIG_PPC4XX) +=3D ppc4xx_pci.o ppc405_boards.o ppc440_bamboo.o # PReP obj-$(CONFIG_PREP) +=3D prep.o obj-$(CONFIG_PREP) +=3D prep_systemio.o --=20 2.14.3