diff options
author | Michal Marek <mmarek@suse.cz> | 2011-02-17 15:13:54 +0100 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2011-02-21 13:35:17 +0100 |
commit | b7bd182176960fdd139486cadb9962b39f8a2b50 (patch) | |
tree | dfd9a501ff513e40800ef404ce3af5b62690cc62 /scripts/recordmcount.c | |
parent | 0f54088aac3fc744cae0cbc4f021fc377e48a00c (diff) | |
download | linux-b7bd182176960fdd139486cadb9962b39f8a2b50.tar.gz linux-b7bd182176960fdd139486cadb9962b39f8a2b50.tar.bz2 linux-b7bd182176960fdd139486cadb9962b39f8a2b50.zip |
fixdep: Do not record dependency on the source file itself
The dependency is already expressed by the Makefiles, storing it in the
.cmd file breaks build if a .c file is replaced by .S or vice versa,
because the .cmd file contains
foo/bar.o: foo/bar.c ...
foo/bar.c ... :
so the foo/bar.c -> foo/bar.o rule triggers even if there is no
foo/bar.c anymore.
Acked-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/recordmcount.c')
0 files changed, 0 insertions, 0 deletions