Re: [PATCH 0/11 v3] enable "make ARCH=x86"

Bodo Eggert
2007-11-11T21:05:32Z

Theodore Tso <tytso@mit.edu> wrote:
> On Sat, Nov 10, 2007 at 12:35:01PM -0800, H. Peter Anvin wrote:

>> In fact, we should be able to get rid of ARCH entirely; CONFIG_ options
>> have the huge advantage that they're saved in a file, and you don't have to
>> type them on every make run. The only option that I can't see us getting
>> rid of easily is HOSTCC, since it is used before config is run, but
>> probably something clever can be done there, too.

> Yes, please! One of the more annoying things is forgetting the
> ARCH=um when rebuilding UML. It would be awfully nice if ARCH was set
> via a CONFIG_ option and was persistent.

This should have been fixed, or it's about to be fixed. My patch is here:
http://groups.google.com/group/linux.kernel/browse_thread/thread/93e5c33fc6e8cff6/39aff558a636ad02
(This patch was superseded by another patch, which may be delayed or mm-only.)

OTOH, if you can implement ARCH= using CONFIG_ARCH, why not? Just don't forget
to keep the scripts running, and make randconfig only select buildable archs.