fixdep: Do not record dependency on the source file itself
Michal Marek authored

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: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
b7bd1821
Name Last commit Last update
..
basic fixdep: Do not record dependency on the source file itself
coccinelle scripts/coccinelle: update for compatability with Coccinelle 0.2.4
dtc of/flattree: Update dtc to current mainline.
genksyms scripts/genksyms: fix header usage
kconfig Merge branch 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6
ksymoops Linux-2.6.12-rc2
mod Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
package Merge branch 'kbuild/packaging' into kbuild/rc-fixes
rt-tester scripts: change scripts to use system python instead of env
selinux selinux: fix warning in genheaders
tracing tracing, perf: Convert the power tracer into an event tracer
.gitignore gitignore: add scripts/recordmcount
Kbuild.include kbuild: generate modules.builtin
Lindent scripts/Lindent: support gnu indent v2.2.10
Makefile ftrace/x86: Add support for C version of recordmcount
Makefile.build ftrace: Speed up recordmcount
Makefile.clean kbuild: Really don't clean bounds.h and asm-offsets.h
Makefile.fwinst firmware: silence __fw_modbuild and __fw_modinst 'Nothing to be done' messages
Makefile.headersinst kbuild: drop unifdef-y support
Makefile.help Add a target to use the Coccinelle checker
Makefile.host kbuild: fix some minor typoes
Makefile.lib decompressors: add XZ decompressor module
Makefile.modbuiltin kbuild: Create output directory in Makefile.modbuiltin
Makefile.modinst Revert "kbuild: strip generated symbols from *.ko"
Makefile.modpost trivial: fix a typo in a filename
bin2c.c
bloat-o-meter
bootgraph.pl
checkincludes.pl
checkkconfigsymbols.sh
checkpatch.pl
checkstack.pl
checksyscalls.sh
checkversion.pl
cleanfile
cleanpatch
coccicheck
config
conmakehash.c
decodecode
diffconfig
export_report.pl
extract-ikconfig
gcc-goto.sh
gcc-version.sh
gcc-x86_32-has-stack-protector.sh
gcc-x86_64-has-stack-protector.sh
gen_initramfs_list.sh
get_maintainer.pl
gfp-translate
headerdep.pl
headers.sh
headers_check.pl
headers_install.pl
kallsyms.c
kernel-doc
makelst
markup_oops.pl
mkcompile_h
mkmakefile
mksysmap
mkuboot.sh
mkversion
module-common.lds
namespace.pl
patch-kernel
pnmtologo.c
profile2linkerlist.pl
recordmcount.c
recordmcount.h
recordmcount.pl
setlocalversion
show_delta
tags.sh
unifdef.c
ver_linux
xz_wrap.sh