From 7e32537efa94e4281c311f23db7d2594ad7706f1 Mon Sep 17 00:00:00 2001 From: Yang Zhong Date: Sat, 3 Mar 2018 21:39:28 -0500 Subject: [PATCH] tcg: add the CONFIG_TCG into Makefiles Add the CONFIG_TCG for frontend and backend's files in the related Makefiles. Backports commit e4b4b6428ca45cb1374dab98ab1d23a213a5db9a from qemu --- qemu/Makefile.target | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qemu/Makefile.target b/qemu/Makefile.target index 83e46868..31bd65d1 100644 --- a/qemu/Makefile.target +++ b/qemu/Makefile.target @@ -43,8 +43,8 @@ all: $(PROGS) obj-y = exec.o translate-all.o cpu-exec.o obj-y += translate-common.o obj-y += cpu-exec-common.o -obj-y += tcg/tcg.o tcg/tcg-op.o tcg/optimize.o -obj-y += tcg/tcg-common.o +obj-$(CONFIG_TCG) += tcg/tcg.o tcg/tcg-op.o tcg/optimize.o +obj-$(CONFIG_TCG) += tcg/tcg-common.o obj-y += fpu/softfloat.o obj-y += target/$(TARGET_BASE_ARCH)/ obj-y += tcg-runtime.o