From: Keir Fraser Subject: Re: [PATCH] minios: minor buildsystem fixes Date: Wed, 15 Jul 2009 11:40:22 +0100 Message-ID: References: <200907151142.48343.Christoph.Egger@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200907151142.48343.Christoph.Egger@amd.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Christoph Egger , "xen-devel@lists.xensource.com" Cc: Samuel Thibault , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On 15/07/2009 10:42, "Christoph Egger" wrote: > Attached patch changes MiniOS.mk and tools/Rules.mk > use the OS settings we build on. > > Signed-off-by: Christoph Egger This may need some thought. Using XEN_OS in some places and open coding 'uname -s' in others is just not nice and is fragile. Since stubdom is not being built in its own chroot, does it make sense for it to override XEN_OS at all? Should we keep that as 'build host OS'? The change around LFS in tools/Rules.mk could be indicative of a deeper issue -- information about arbitrary (non-GNU) host environments leaking into binaries which are actually targetting GNUish minios. Can the current approach work safely for NetBSD, Solaris, ... build hosts? So I throw this one to Stefano/Samuel. ;-) -- Keir