From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47453) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBcNV-0007Mv-GB for qemu-devel@nongnu.org; Fri, 19 May 2017 03:31:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dBcNU-00039l-OX for qemu-devel@nongnu.org; Fri, 19 May 2017 03:31:13 -0400 Received: from mga09.intel.com ([134.134.136.24]:61751) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dBcNU-00037L-GQ for qemu-devel@nongnu.org; Fri, 19 May 2017 03:31:12 -0400 From: Yang Zhong Date: Fri, 19 May 2017 15:30:26 +0800 Message-Id: <1495179026-27872-7-git-send-email-yang.zhong@intel.com> In-Reply-To: <1495179026-27872-1-git-send-email-yang.zhong@intel.com> References: <1495179026-27872-1-git-send-email-yang.zhong@intel.com> Subject: [Qemu-devel] [PATCH v0 6/6] change tcg relative file's compile definition List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: pbonzini@redhat.com Cc: qemu-devel@nongnu.org, anthony.xu@intel.com, Yang Zhong move tcg relative compile definitions form Makefile.target to tcg/Makefile.objs Signed-off-by: Yang Zhong --- Makefile.target | 7 +------ tcg/Makefile.objs | 2 ++ 2 files changed, 3 insertions(+), 6 deletions(-) create mode 100644 tcg/Makefile.objs diff --git a/Makefile.target b/Makefile.target index 489a325..c0272b4 100644 --- a/Makefile.target +++ b/Makefile.target @@ -89,17 +89,12 @@ all: $(PROGS) stap ######################################################### # cpu emulator library obj-y = exec.o cpu-exec.o -obj-y += tcg/translate-all.o -obj-y += tcg/translate-common.o obj-y += cpu-exec-common.o -obj-y += tcg/tcg.o tcg/tcg-op.o tcg/optimize.o -obj-$(CONFIG_TCG_INTERPRETER) += tcg/tci.o -obj-y += tcg/tcg-common.o +obj-y += tcg/ obj-$(CONFIG_TCG_INTERPRETER) += disas/tci.o obj-y += fpu/softfloat.o obj-y += target/$(TARGET_BASE_ARCH)/ obj-y += disas.o -obj-y += tcg/tcg-runtime.o obj-$(call notempty,$(TARGET_XML_FILES)) += gdbstub-xml.o obj-$(call lnot,$(CONFIG_HAX)) += hax-stub.o obj-$(call lnot,$(CONFIG_KVM)) += kvm-stub.o diff --git a/tcg/Makefile.objs b/tcg/Makefile.objs new file mode 100644 index 0000000..f4dcc3b --- /dev/null +++ b/tcg/Makefile.objs @@ -0,0 +1,2 @@ +obj-y += translate-all.o translate-common.o tcg.o tcg-op.o optimize.o tcg-common.o tcg-runtime.o +obj-$(CONFIG_TCG_INTERPRETER) += tci.o -- 1.9.1