fixdep: Do not record dependency on the source file itself
authorMichal Marek <mmarek@suse.cz>
Thu, 17 Feb 2011 14:13:54 +0000 (15:13 +0100)
committerMichal Marek <mmarek@suse.cz>
Mon, 21 Feb 2011 12:35:17 +0000 (13:35 +0100)
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>

No differences found