diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-03-15 15:19:07 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-03-15 15:19:07 -0800 |
| commit | 4a1168133703a3132e104f99ed8dbe393e2983ad (patch) | |
| tree | a4cd428b8a6b6c1a6d9c4535f658263eea6d395a /kernel | |
| parent | 2d86075a5d9145a177dd216d785f55b0c67a3569 (diff) | |
[PATCH] kbuild: fix modpost when used with O=
From: Sam Ravnborg <sam@ravnborg.org>
modpost or to be more specific sumversion.c was not behaving correct when
used with O= and MODULE_VERSION was used. Previously it failed to use
local .h when calculation the md-sum in case of a O= build.
The following patch introduces the following:
- A generic get_next_line()
- Check that the topmost part of the directory matches
- Using strrch when checking for file with suffix .o
- Use NOFAIL for allocations in sumversion
- Avoid memory leak in new_module
The generic get_next_line will pay off when Andreas implmentation of
storing symbol addresses in a seperate file is introduced.
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
