]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: Fix computing srcversion for modules
authorMichal Marek <mmarek@suse.cz>
Fri, 11 Mar 2011 21:34:47 +0000 (22:34 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 13 Mar 2011 22:59:58 +0000 (15:59 -0700)
commitc1d122727aa9eb1e25a15d69989742b4cf188080
treee13f604355993207d34cc5abe335ec944ff871d7
parentd5b04980253f382e7bd2653cba377528849eaaf3
kbuild: Fix computing srcversion for modules

Recent change to fixdep:

    commit b6e8976345cf6bfe930a9d72065850c243cedf84
    Author: Michal Marek <mmarek@suse.cz>
    Date:   Thu Feb 17 15:13:54 2011 +0100

    fixdep: Do not record dependency on the source file itself

changed the format of the *.cmd files without realizing that it is also
used by modpost. Put the path to the source file to the file back, in a
special variable, so that modpost sees all source files when calculating
srcversion for modules.

Reported-and-tested-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/basic/fixdep.c
scripts/mod/sumversion.c