]> git.karo-electronics.de Git - mv-sheeva.git/commit
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)
commitb7bd182176960fdd139486cadb9962b39f8a2b50
treedfd9a501ff513e40800ef404ce3af5b62690cc62
parent0f54088aac3fc744cae0cbc4f021fc377e48a00c
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>
scripts/basic/fixdep.c