Skip to contentSkip to conversation

qemu Makefile.target

Qemu-devel Jocelyn Mayer 2 participants 4 messages Oct 28, 2007 – Oct 29, 2007

lore
Share & tools
lore
#1 lore raw
Quoted 10 lines · Jocelyn Mayer
CVSROOT:        /sources/qemu
Module name:    qemu
Changes by:     Jocelyn Mayer <j_mayer> 07/10/28 13:07:13

Modified files:
. : Makefile.target

Log message:
Use cpp to generate correct build dependencies for target objects
instead of using incomplete hardcoded ones.

This doesn't work very well for me, but I'm not sure why. Now the Makefile rebuilds much more than necessary, even after a "make depend" in the target dirs.

Regards

#2 lore raw
Quoted 5 lines · andrzej zaborowski
Quoted 4 lines · Jocelyn Mayer
CVSROOT:        /sources/qemu
Module name:    qemu
Changes by:     Jocelyn Mayer <j_mayer> 07/10/28 13:07:13
Quoted 8 lines
Quoted 6 lines

Modified files:
. : Makefile.target

Log message:
Use cpp to generate correct build dependencies for target objects
instead of using incomplete hardcoded ones.

This doesn't work very well for me, but I'm not sure why. Now the

Sorry, actually it is correctly rebuilding the project. I wasn't aware than I had #included one of my files.
Regards

author
#3 lore raw
In reply to andrzej zaborowski
Quoted 8 lines · andrzej zaborowski
Quoted 7 lines · Jocelyn Mayer
CVSROOT:        /sources/qemu
Module name:    qemu
Changes by:     Jocelyn Mayer <j_mayer> 07/10/28 13:07:13

Modified files:
. : Makefile.target

Quoted 7 lines
Quoted 3 lines

Log message:
Use cpp to generate correct build dependencies for target objects
instead of using incomplete hardcoded ones.

This doesn't work very well for me, but I'm not sure why. Now the Makefile rebuilds much more than necessary, even after a "make depend" in the target dirs.

You may need to do a make clean to generate the initial dependency files.
The 'depend' target need to be reworked, afaik, as it does not handle all the needed files.
make may rebuild a lot of things (or everything) when some headers are modified because some headers (like vl.h) are included almost in every source file.

Signature · 2 lines
J. Mayer <[email protected]>
Never organized