kbuild: refactor final link of sparc32
authorSam Ravnborg <sam@ravnborg.org>
Sat, 5 May 2012 08:18:40 +0000 (10:18 +0200)
committerMichal Marek <mmarek@suse.cz>
Sat, 5 May 2012 19:19:33 +0000 (21:19 +0200)
commit95698570510b7be9ab1542a4a908242c05a9b0ed
tree800f6e5bf8c45eb6f1ee6cfda4af4d4d62543dba
parent275eb135cfa2980d4ed1ec24746e05ca42f8418b
kbuild: refactor final link of sparc32

sparc32 uses an additional final link to support btfix.
Introduce a new set of exported variables in the top-level Makefile
to make the extra linking step simpler.

sparc32 has hardcoded knowledge of kallsyms support. This fix
include support for EXTRA_KALLSYM_PASS=1.
The ugly part is that it is hardcoded in the arch/sparc/boot
Makefile.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Makefile
arch/sparc/Makefile
arch/sparc/boot/Makefile