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

login
register
mail settings
Submitter Peter Maydell
Date May 25, 2011, 4 p.m.
Message ID <1306339215-1228-7-git-send-email-peter.maydell@linaro.org>
Download mbox | patch
Permalink /patch/97375/
State New
Headers show

Comments

Peter Maydell - May 25, 2011, 4 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 2e281a4..ddc9a03 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -94,7 +94,7 @@  tcg/tcg.o: cpu.h
 
 # HELPER_CFLAGS is used for all the code compiled with static register
 # variables
-%_helper.o cpu-exec.o: QEMU_CFLAGS += $(HELPER_CFLAGS)
+op_helper.o cpu-exec.o: QEMU_CFLAGS += $(HELPER_CFLAGS)
 
 # Note: this is a workaround. The real fix is to avoid compiling
 # cpu_signal_handler() in cpu-exec.c.