]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
accel/tcg: move user-exec to accel/tcg/
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 11 Sep 2017 21:33:25 +0000 (18:33 -0300)
committerRichard Henderson <richard.henderson@linaro.org>
Sun, 17 Sep 2017 13:52:19 +0000 (06:52 -0700)
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20170911213328.9701-3-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
MAINTAINERS
Makefile.target
accel/tcg/Makefile.objs
accel/tcg/user-exec-stub.c [moved from user-exec-stub.c with 100% similarity]
accel/tcg/user-exec.c [moved from user-exec.c with 100% similarity]

index 2127bb241afa54da46823eea9c7d5787a62175f8..4bd1797330ed79a104eaa598d255bf45be9e11a8 100644 (file)
@@ -1603,8 +1603,7 @@ Overall
 M: Riku Voipio <riku.voipio@iki.fi>
 S: Maintained
 F: thunk.c
-F: user-exec.c
-F: user-exec-stub.c
+F: accel/tcg/user-exec*.c
 
 BSD user
 S: Orphan
index 7f42c45db89b17fd6b97351bc3d22b583d064bd8..520305b02557e927cbc3e5dcdfef18884485a0fe 100644 (file)
@@ -119,7 +119,7 @@ QEMU_CFLAGS+=-I$(SRC_PATH)/linux-user/$(TARGET_ABI_DIR) \
              -I$(SRC_PATH)/linux-user
 
 obj-y += linux-user/
-obj-y += gdbstub.o thunk.o user-exec.o user-exec-stub.o
+obj-y += gdbstub.o thunk.o
 
 endif #CONFIG_LINUX_USER
 
@@ -132,7 +132,7 @@ QEMU_CFLAGS+=-I$(SRC_PATH)/bsd-user -I$(SRC_PATH)/bsd-user/$(TARGET_ABI_DIR) \
                         -I$(SRC_PATH)/bsd-user/$(HOST_VARIANT_DIR)
 
 obj-y += bsd-user/
-obj-y += gdbstub.o user-exec.o user-exec-stub.o
+obj-y += gdbstub.o
 
 endif #CONFIG_BSD_USER
 
index 22642e6f75183f6706c7ccc3e2e3e309b0fa017b..f2422d0fb3a530a075edaa0f448996a16c11744e 100644 (file)
@@ -2,3 +2,6 @@ obj-$(CONFIG_SOFTMMU) += tcg-all.o
 obj-$(CONFIG_SOFTMMU) += cputlb.o
 obj-y += cpu-exec.o cpu-exec-common.o translate-all.o
 obj-y += translator.o
+
+obj-$(CONFIG_USER_ONLY) += user-exec.o
+obj-$(call lnot,$(CONFIG_SOFTMMU)) += user-exec-stub.o
similarity index 100%
rename from user-exec-stub.c
rename to accel/tcg/user-exec-stub.c
similarity index 100%
rename from user-exec.c
rename to accel/tcg/user-exec.c