This small patch for Makefile.target fixes a very special build issue: make distclean # (only needed to remove files left from earlier builds) ./configure make -C i386-softmmu # (or any other system emulation)
will try to build the missing dyngen and fail because dyngen is normally build by the root Makefile. The patch adds a rule for dyngen which simply calls "make dyngen" in the root directory. Stefan
Index: Makefile.target =================================================================== RCS file: /sources/qemu/qemu/Makefile.target,v retrieving revision 1.160 diff -u -b -B -r1.160 Makefile.target --- Makefile.target 11 Apr 2007 22:46:06 -0000 1.160 +++ Makefile.target 15 Apr 2007 12:26:55 -0000 @@ -540,6 +540,9 @@ translate-op.o: translate-all.c op.h opc.h cpu.h +$(DYNGEN): + make -C .. dyngen$(EXESUF) + op.h: op.o $(DYNGEN) $(DYNGEN) -o $@ $<