[PATCH] kbuild: don't put temp files in source
commit57696190149bc88eacc5e911cd7298cec144503e
authorRoman Zippel <zippel@linux-m68k.org>
Wed, 13 Dec 2006 04:04:19 +0000 (12 23:04 -0500)
committerChris Wright <chrisw@sous-sol.org>
Wed, 10 Jan 2007 19:05:18 +0000 (10 11:05 -0800)
tree58245f481fce63a611efbe39956e2e501081d207
parent459593b95acfee630b5c8a33e674d1a802a5b6c7
[PATCH] kbuild: don't put temp files in source

The as-instr/ld-option need to create temporary files, but create them in the
output directory, when compiling external modules.  Reformat them a bit and
use $(CC) instead of $(AS) as the former is used by kbuild to assemble files.

Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Cc: Andi Kleen <ak@suse.de>
Cc: Jan Beulich <jbeulich@novell.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: <jpdenheijer@gmail.com>
Cc: Horst Schirmeier <horst@schirmeier.com>
Cc: Daniel Drake <dsd@gentoo.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
scripts/Kbuild.include