Re: [GIT PULL] UML changes for 3.2

From: Richard Weinberger
Date: Thu Nov 03 2011 - 18:18:59 EST


Am 03.11.2011 23:10, schrieb Paul Bolle:
> On Thu, 2011-11-03 at 22:56 +0100, Paul Bolle wrote:
>> These Makefiles always make me nervous. Is SUBARCH set by the time the
>> update-po-config target is run? If so, we could simply do "env SUBARCH=
>> $(SUBARCH) [...]". But how do I check that SUBARCH really is set (ie,
>> that I'm not passing env an empty string)?
>
> It seems the trick here should be
> env SUBARCH=$(KBUILD_BUILDHOST) [...]
>
> Michal, does that make sense?
>

Beware, it's also possible to set it by hand.
E.g. for building a i386 UML on x86_64.
make linux ARCH=um SUBARCH=i386.

As long no inclusion of another Kconfig file depends on SUBARCH, setting
it to the empty string is ok.

Thanks,
//richard

Attachment: signature.asc
Description: OpenPGP digital signature