]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
kbuild: prevent modpost from looking for a .cmd file for a static library linked...
authorAshutosh Naik <ashutosh@chelsio.com>
Sat, 25 Oct 2008 22:02:53 +0000 (15:02 -0700)
committerSam Ravnborg <sam@ravnborg.org>
Wed, 29 Oct 2008 21:02:10 +0000 (22:02 +0100)
commite6e6733ed9451827165d853f25bf99ba55e12feb
treeabd3d62172a8b2952d291a7e59b7b60485fa28ae
parent92f83cc56eeafdb8fcf07ceb89fd9a0212bd498c
kbuild: prevent modpost from looking for a .cmd file for a static library linked into a module

This fixes a compile time warning which occurs whenever a static library
is linked into a kernel module.  MODPOST tries to look for a
".<modulename>.cmd" file to look for its dependencies, but that file
doesn't exist or get generated for static libraries.

This patch prevents modpost from looking for a .cmd file when a module is
linked with a static library

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Ashutosh Naik <ashutosh.naik@gmail.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/mod/sumversion.c