diff options
author | Ashutosh Naik <ashutosh@chelsio.com> | 2008-10-25 18:02:53 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2008-10-29 17:02:10 -0400 |
commit | e6e6733ed9451827165d853f25bf99ba55e12feb (patch) | |
tree | abd3d62172a8b2952d291a7e59b7b60485fa28ae /net/dsa/slave.c | |
parent | 92f83cc56eeafdb8fcf07ceb89fd9a0212bd498c (diff) |
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>
Diffstat (limited to 'net/dsa/slave.c')
0 files changed, 0 insertions, 0 deletions