[PATCH] kbuild: save ARCH & CROSS_COMPILE when building a kernel

From: Sam Ravnborg
Date: Mon Jul 20 2009 - 06:02:05 EST


I have tested this locally - but it would
be good if someone with different habits than me try it
out before it hits -next.

So far it works for me.

Last time I tries this it failed in strange ways in different setups.
But I think I have addressed this by postponing the settings to *config
time _after_ including the arch specific makefile.

This patch is a prerequisite for a small serie of patches to clean up
how we handle generated files.

Sam