linux-sg2042/scripts/basic
Michal Marek b7bd182176 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>
2011-02-21 13:35:17 +01:00
..
.gitignore Update .gitignore files for generated targets 2008-10-20 11:24:31 -07:00
Makefile jump label: Convert dynamic debug to use jump labels 2010-09-22 16:31:19 -04:00
docproc.c kbuild: check return value of asprintf() 2010-10-28 00:17:16 +02:00
fixdep.c fixdep: Do not record dependency on the source file itself 2011-02-21 13:35:17 +01:00