[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 6/6] tcg: change tcg related file's compile defin
From: |
Yang Zhong |
Subject: |
[Qemu-devel] [PATCH v2 6/6] tcg: change tcg related file's compile definition |
Date: |
Wed, 31 May 2017 14:29:04 +0800 |
tcg: move tcg related compile definitions form Makefile.target
to tcg/Makefile.objs
Signed-off-by: Yang Zhong <address@hidden>
---
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 8561132..956aeff 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
- [Qemu-devel] [PATCH v2 0/6] tcg: move the tcg files into tcg/ subdirectory., Yang Zhong, 2017/05/31
- [Qemu-devel] [PATCH v2 2/6] tcg: move translate-all.c to tcg/ subdirectory, Yang Zhong, 2017/05/31
- [Qemu-devel] [PATCH v2 1/6] tcg: move tcg-runtime.c to tcg/ subdirectory, Yang Zhong, 2017/05/31
- [Qemu-devel] [PATCH v2 3/6] tcg: move tcg header file, Yang Zhong, 2017/05/31
- [Qemu-devel] [PATCH v2 4/6] tcg: move translate-common.c to tcg/ subdirectory, Yang Zhong, 2017/05/31
- [Qemu-devel] [PATCH v2 5/6] tcg: move tci.c to tcg/ subdirectory, Yang Zhong, 2017/05/31
- [Qemu-devel] [PATCH v2 6/6] tcg: change tcg related file's compile definition,
Yang Zhong <=
- Re: [Qemu-devel] [PATCH v2 0/6] tcg: move the tcg files into tcg/ subdirectory., Paolo Bonzini, 2017/05/31