[v2,6/6] Revert "Makefile.target: Allow target helpers to be in any *_helper.c file"

Message ID 1307385660-23935-7-git-send-email-peter.maydell@linaro.org
State New
Headers show

Commit Message

Peter Maydell June 6, 2011, 6:41 p.m.
Reverts commit 348883d4828d7434e1053407818598f7fb15e594, so the
global env is no longer available to helper.c files other than

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
 Makefile.target |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Makefile.target b/Makefile.target
index 8b6e271..c51874d 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -93,7 +93,7 @@  tcg/tcg.o: cpu.h
 # HELPER_CFLAGS is used for all the code compiled with static register
 # variables
-%_helper.o cpu-exec.o user-exec.o: QEMU_CFLAGS += $(HELPER_CFLAGS)
+op_helper.o cpu-exec.o user-exec.o: QEMU_CFLAGS += $(HELPER_CFLAGS)
 # Note: this is a workaround. The real fix is to avoid compiling
 # cpu_signal_handler() in user-exec.c.