]> git.karo-electronics.de Git - mv-sheeva.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)
commit7840fea200cd1ad93ed19853a83752a21f691326
treee13f604355993207d34cc5abe335ec944ff871d7
parente8444a3e3b56b268c6ca31a2f77040fd944834fb
kbuild: Fix computing srcversion for modules

Recent change to fixdep:

    commit b7bd182176960fdd139486cadb9962b39f8a2b50
    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