[PATCH] kbuild: don't put temp files in source
[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 <f9f6ad990b4a8c1974dc6544787c1cc3570b6f00@linux-m68k.org>
Cc: Andi Kleen <0474aee45985f5ae829f53849df476200e876990@suse.de>
Cc: Jan Beulich <01de09643e0ae62e116f8bd77de435799874b456@novell.com>
Cc: Sam Ravnborg <f16bed56189e249fe4ca8ed10a1ecae60e8ceac0@ravnborg.org>
Cc: <b99a2c6033345551a59d0b2d85660dbfb885cdcf@gmail.com>
Cc: Horst Schirmeier <35eebf6635d6babe24b031dcaf4f4a55ebe8da9c@schirmeier.com>
Cc: Daniel Drake <83b0c3d63e8a11eb6e40077030b59e95bfe31ffa@gentoo.org>
Signed-off-by: Andrew Morton <5c1e68b099950c134891f0b6e179498a8ebe9cf9@osdl.org>
Signed-off-by: Linus Torvalds <69652caca27c8b940640ad396ab71f93cacec34f@osdl.org>

KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas