Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Michal Marek <[email protected]>
- Loading branch information