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

login
register
mail settings
Submitter Peter Maydell
Date June 22, 2011, 5:33 p.m.
Message ID <1308764013-18149-7-git-send-email-peter.maydell@linaro.org>
Download mbox | patch
Permalink /patch/101518/
State New
Headers show

Comments

Peter Maydell - June 22, 2011, 5:33 p.m.
Reverts commit 348883d4828d7434e1053407818598f7fb15e594, so the
global env is no longer available to helper.c files other than
op_helper.c.

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

Patch

diff --git a/Makefile.target b/Makefile.target
index 03d3646..37bb28e 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -91,7 +91,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.