Patchwork Makefile.target: Remove unnecessary dependency rules

login
register
mail settings
Submitter Peter Maydell
Date Dec. 15, 2011, 6:28 p.m.
Message ID <1323973732-21848-1-git-send-email-peter.maydell@linaro.org>
Download mbox | patch
Permalink /patch/131716/
State New
Headers show

Comments

Peter Maydell - Dec. 15, 2011, 6:28 p.m.
Remove some dependency rules which aren't necessary (the automatically
generated .d files cover all these). These were leftovers from dyngen
days, when the object files also had a dependency on some generated
files.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
 Makefile.target |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
Stefan Hajnoczi - Dec. 16, 2011, 10:39 a.m.
On Thu, Dec 15, 2011 at 06:28:52PM +0000, Peter Maydell wrote:
> Remove some dependency rules which aren't necessary (the automatically
> generated .d files cover all these). These were leftovers from dyngen
> days, when the object files also had a dependency on some generated
> files.
> 
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
>  Makefile.target |    6 ------
>  1 files changed, 0 insertions(+), 6 deletions(-)

Thanks, applied to the trivial patches tree:
http://repo.or.cz/w/qemu/stefanha.git/shortlog/refs/heads/trivial-patches

Stefan

Patch

diff --git a/Makefile.target b/Makefile.target
index 8be9b9a..3261383 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -92,12 +92,6 @@  tci-dis.o: QEMU_CFLAGS += -I$(SRC_PATH)/tcg -I$(SRC_PATH)/tcg/tci
 
 $(libobj-y): $(GENERATED_HEADERS)
 
-translate.o: translate.c cpu.h
-
-translate-all.o: translate-all.c cpu.h
-
-tcg/tcg.o: cpu.h
-
 # HELPER_CFLAGS is used for all the code compiled with static register
 # variables
 op_helper.o ldst_helper.o user-exec.o: QEMU_CFLAGS += $(HELPER_CFLAGS)