Quantcast
Channel: lkml.org : Pallipadi, Venkatesh
Viewing all articles
Browse latest Browse all 864

Re: building in 32bit chroot on x86_64 host broken

$
0
0
Linus Torvalds writes: (Summary) Right now, in the Makefile, it is
Right now, in the Makefile, it is
ARCH ?= $(SUBARCH)
ARCH ?= $(SUBARCH)
so basically "if the user didn't specify ARCH, we pick it from SUBARCH". So maybe we could make the rule be that if the user didn't specify ARCH explicitly, we take it from SUBARCH, _except_ if we are doing "make oldconfig", in which case we take it from the .config file. Doing "oldconfig" and silently changing ARCH under the user seems pretty user-hostile.
user-hostile.
In fact, I think it would _always_ make sense to take ARCH from the config file, _unless_ we're actively generating a new config file entirely (ie "make *config", not counting "oldconfig").

Viewing all articles
Browse latest Browse all 864

Trending Articles