Sam Ravnborg 45d506bd65 kbuild: make V=2 tell why a target is rebuild
tell why a a target got build
   enabled by make V=2
      Output (listed in the order they are checked):
         (1) - due to target is PHONY
         (2) - due to target missing
         (3) - due to: file1.h file2.h
         (4) - due to command line change
         (5) - due to missing .cmd file
         (6) - due to target not in $(targets)
(1) We always build PHONY targets
(2) No target, so we better build it
(3) Prerequisite is newer than target
(4) The command line stored in the file named dir/.target.cmd
    differed from actual command line. This happens when compiler
    options changes
(5) No dir/.target.cmd file (used to store command line)
(6) No dir/.target.cmd file and target not listed in $(targets)
    This is a good hint that there is a bug in the kbuild file

This patch is inspired by a patch from: Milton Miller <miltonm@bga.com>

Cc: Milton Miller <miltonm@bga.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2006-09-25 09:01:49 +02:00
..
2006-09-25 09:00:00 +02:00
2005-04-16 15:20:36 -07:00
2006-06-08 20:18:49 +02:00
2005-04-16 15:20:36 -07:00
2006-06-25 10:01:00 -07:00
2005-04-16 15:20:36 -07:00
2006-07-03 23:30:54 +02:00
2005-04-16 15:20:36 -07:00
2005-07-13 23:09:16 +00:00
2005-04-16 15:20:36 -07:00
2005-07-14 20:18:07 +00:00
2006-01-10 00:10:13 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00