kbuild: fix section mismatch check for vmlinux
authorSam Ravnborg <sam@ravnborg.org>
Mon, 26 Feb 2007 14:33:52 +0000 (15:33 +0100)
committerSam Ravnborg <sam@ravnborg.org>
Wed, 2 May 2007 18:58:07 +0000 (20:58 +0200)
commit85bd2fddd68e757da8e1af98f857f61a3c9ce647
tree2570f9ac0ba8ecd6373fec48e923ead773319369
parentdc87c3985e9b442c60994308a96f887579addc39
kbuild: fix section mismatch check for vmlinux

vmlinux does not contain relocation entries which is
used by the section mismatch checks.
Reported by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>

Use the individual objects as inputs to overcome
this limitation.
In modpost check the .o files and skip non-ELF files.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Makefile
scripts/Makefile.modpost
scripts/mod/modpost.c