From nobody Fri Nov 7 10:30:11 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.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; spf=pass (zoho.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=intel.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1547563067029905.2057412580913; Tue, 15 Jan 2019 06:37:47 -0800 (PST) Received: from localhost ([127.0.0.1]:38227 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gjPqb-0000ak-1W for importer@patchew.org; Tue, 15 Jan 2019 09:37:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37690) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gjPYa-0003EN-3h for qemu-devel@nongnu.org; Tue, 15 Jan 2019 09:19:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gjPRK-00019N-Qu for qemu-devel@nongnu.org; Tue, 15 Jan 2019 09:11:39 -0500 Received: from mga05.intel.com ([192.55.52.43]:56305) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gjPRK-00013X-HV for qemu-devel@nongnu.org; Tue, 15 Jan 2019 09:11:38 -0500 Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Jan 2019 06:11:35 -0800 Received: from he.bj.intel.com ([10.238.157.85]) by orsmga004.jf.intel.com with ESMTP; 15 Jan 2019 06:11:33 -0800 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,481,1539673200"; d="scan'208";a="267301373" From: Yang Zhong To: qemu-devel@nongnu.org Date: Tue, 15 Jan 2019 22:10:42 +0800 Message-Id: <20190115141108.934-12-yang.zhong@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190115141108.934-1-yang.zhong@intel.com> References: <20190115141108.934-1-yang.zhong@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 192.55.52.43 Subject: [Qemu-devel] [RFC PATCH v2 11/37] hw/xtensa/Makefile.objs: Build xtensa_sim and xtensa_fpga conditionally 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: yang.zhong@intel.com, peter.maydell@linaro.org, thuth@redhat.com, sameo@linux.intel.com, =?UTF-8?q?=C3=81kos=20Kov=C3=A1cs?= , pbonzini@redhat.com, ehabkost@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" From: =C3=81kos Kov=C3=A1cs Add the new CONFIG_* values to default-config/xtensa*-softmmu.mak. Signed-off-by: =C3=81kos Kov=C3=A1cs Signed-off-by: Paolo Bonzini Acked-by: Max Filippov Reviewed-by: Thomas Huth --- default-configs/xtensa-softmmu.mak | 3 +++ default-configs/xtensaeb-softmmu.mak | 3 +++ hw/xtensa/Makefile.objs | 4 ++-- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/default-configs/xtensa-softmmu.mak b/default-configs/xtensa-so= ftmmu.mak index 9d8899cde7..baf90ca162 100644 --- a/default-configs/xtensa-softmmu.mak +++ b/default-configs/xtensa-softmmu.mak @@ -3,3 +3,6 @@ CONFIG_SERIAL=3Dy CONFIG_OPENCORES_ETH=3Dy CONFIG_PFLASH_CFI01=3Dy + +CONFIG_XTENSA_SIM=3Dy +CONFIG_XTENSA_FPGA=3Dy diff --git a/default-configs/xtensaeb-softmmu.mak b/default-configs/xtensae= b-softmmu.mak index 9d8899cde7..baf90ca162 100644 --- a/default-configs/xtensaeb-softmmu.mak +++ b/default-configs/xtensaeb-softmmu.mak @@ -3,3 +3,6 @@ CONFIG_SERIAL=3Dy CONFIG_OPENCORES_ETH=3Dy CONFIG_PFLASH_CFI01=3Dy + +CONFIG_XTENSA_SIM=3Dy +CONFIG_XTENSA_FPGA=3Dy diff --git a/hw/xtensa/Makefile.objs b/hw/xtensa/Makefile.objs index cb4998d2bf..62e244fa53 100644 --- a/hw/xtensa/Makefile.objs +++ b/hw/xtensa/Makefile.objs @@ -1,4 +1,4 @@ obj-y +=3D pic_cpu.o -obj-y +=3D sim.o obj-y +=3D xtensa_memory.o -obj-y +=3D xtfpga.o +obj-$(CONFIG_XTENSA_SIM) +=3D sim.o +obj-$(CONFIG_XTENSA_FPGA) +=3D xtfpga.o --=20 2.17.1