kernel_optimize_test/scripts
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
..
basic kconfig: integrate split config into silentoldconfig 2006-06-09 07:31:30 +02:00
genksyms kbuild: replace abort() with exit(1) 2006-06-24 23:46:54 +02:00
kconfig kconfig: support DOS line endings 2006-09-25 09:00:00 +02:00
ksymoops Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mod kbuild: ignore references from ".pci_fixup" to ".init.text" 2006-09-25 09:01:49 +02:00
package kbuild: fix make rpm for powerpc 2006-06-08 20:18:49 +02:00
rt-tester [PATCH] rtmutex: Modify rtmutex-tester to test the setscheduler propagation 2006-06-27 17:32:47 -07:00
.gitignore gitignore: ignore more generated files 2006-01-03 11:35:26 +01:00
bin2c.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
binoffset.c update the email address of Randy Dunlap 2006-01-03 13:37:51 +01:00
bloat-o-meter [PATCH] bloat-o-meter: gcc-4 fix 2006-06-25 10:01:00 -07:00
checkincludes.pl Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
checkstack.pl [POWERPC] make checkstack work with ARCH=powerpc 2006-08-25 13:30:27 +10:00
checkversion.pl kbuild: introduce utsrelease.h 2006-07-03 23:30:54 +02:00
conmakehash.c [PATCH] kbuild: signed char fixes for scripts 2005-07-27 22:27:08 +02:00
export_report.pl kbuild: export-symbol usage report generator 2006-06-24 23:14:02 +02:00
extract-ikconfig [PATCH] extract-ikconfig: don't use --long-options 2006-03-24 07:33:21 -08:00
gcc-version.sh Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gen_initramfs_list.sh kbuild: fix gen_initramfs_list.sh 2006-04-30 23:56:33 +02:00
hdrcheck.sh [PATCH] headers_check: clarify error message 2006-09-13 07:32:15 -07:00
kallsyms.c [PATCH] kallsyms: handle malloc() failure 2006-03-25 08:22:56 -08:00
Kbuild.include kbuild: make V=2 tell why a target is rebuild 2006-09-25 09:01:49 +02:00
kernel-doc [PATCH] kernel-doc: ignore __devinit 2006-07-31 13:28:40 -07:00
Lindent [PATCH] Lindent: ignore .indent.pro 2005-07-13 23:09:16 +00:00
Makefile kbuild: modpost on vmlinux regardless of CONFIG_MODULES 2006-09-25 09:01:49 +02:00
Makefile.build kbuild: consistently decide when to rebuild a target 2006-09-25 09:00:00 +02:00
Makefile.clean kbuild: change kbuild to not rely on incorrect GNU make behavior 2006-03-06 00:09:51 +01:00
Makefile.headersinst kbuild: use in-kernel unifdef 2006-09-25 09:00:01 +02:00
Makefile.host [PATCH] Add a missing space that prevents building modules that require host programs 2006-09-16 12:54:31 -07:00
Makefile.lib kbuild: fix ia64 breakage after introducing make -rR 2006-07-01 09:58:02 +02:00
Makefile.modinst kbuild: add option for stripping modules while installing them 2006-06-24 23:16:45 +02:00
Makefile.modpost kbuild: modpost on vmlinux regardless of CONFIG_MODULES 2006-09-25 09:01:49 +02:00
makelst Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mkcompile_h kbuild: "PREEMPT" in UTS_VERSION 2005-07-14 20:18:07 +00:00
mkmakefile kbuild: Do not overwrite makefile as anohter user 2006-05-08 06:55:32 +02:00
mksysmap spelling: s/retreive/retrieve/ 2006-01-10 00:10:13 +01:00
mkuboot.sh Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mkversion Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
namespace.pl kbuild: fix mode of checkstack.pl and other files. 2006-04-11 13:37:07 +02:00
patch-kernel update the email address of Randy Dunlap 2006-01-03 13:37:51 +01:00
pnmtologo.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
profile2linkerlist.pl [PATCH] x86_64: Basic reorder infrastructure 2006-03-25 09:10:56 -08:00
setlocalversion kbuild: append -dirty for updated but uncommited changes 2006-06-17 00:08:17 +02:00
show_delta kbuild: fix mode of checkstack.pl and other files. 2006-04-11 13:37:07 +02:00
unifdef.c kbuild: replace use of strlcpy with a dedicated implmentation in unifdef 2006-09-25 09:00:00 +02:00
ver_linux ver_linux: don't print reiser4progs version if none found 2006-04-05 13:10:19 +02:00