From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from octopus.hi.pengutronix.de ([2001:6f8:1178:2:215:17ff:fe12:23b0]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Ro73p-0008A4-II for ptxdist@pengutronix.de; Fri, 20 Jan 2012 06:30:49 +0100 Received: from rsc by octopus.hi.pengutronix.de with local (Exim 4.77) (envelope-from ) id 1Ro73p-0002tl-HE for ptxdist@pengutronix.de; Fri, 20 Jan 2012 06:30:49 +0100 Date: Fri, 20 Jan 2012 06:30:49 +0100 From: Robert Schwebel Message-ID: <20120120053049.GC20430@pengutronix.de> References: <20120119214755.GF4854@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20120119214755.GF4854@pengutronix.de> Subject: Re: [ptxdist] cross-compiling and uname Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On Thu, Jan 19, 2012 at 10:47:55PM +0100, Michael Olbrich wrote: > we had some patches lately about configure scripts etc. using uname to > detect stuff. Why don't we create a fake ../sysroot-cross/bin/uname > that produces the output we would expect on the target? This way we > don't have to fix all those packages and we have on less source of > host system information leaking into the build. Are there any host tools which do also run uname? I'd prefer overwriting cached variables or something like that. rsc -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de