[ptxdist] cross-compiling and uname

2012-01-19 Thread Michael Olbrich
Hi, 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 informat

Re: [ptxdist] cross-compiling and uname

2012-01-19 Thread Robert Schwebel
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

Re: [ptxdist] cross-compiling and uname

2012-01-19 Thread Michael Olbrich
On Fri, Jan 20, 2012 at 06:30:49AM +0100, Robert Schwebel wrote: > 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 th

Re: [ptxdist] cross-compiling and uname

2012-01-19 Thread Robert Schwebel
On Fri, Jan 20, 2012 at 08:31:44AM +0100, Michael Olbrich wrote: > On Fri, Jan 20, 2012 at 06:30:49AM +0100, Robert Schwebel wrote: > > 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. W

Re: [ptxdist] cross-compiling and uname

2012-01-20 Thread Marc Kleine-Budde
On 01/20/2012 08:38 AM, Robert Schwebel wrote: > On Fri, Jan 20, 2012 at 08:31:44AM +0100, Michael Olbrich wrote: >> On Fri, Jan 20, 2012 at 06:30:49AM +0100, Robert Schwebel wrote: >>> On Thu, Jan 19, 2012 at 10:47:55PM +0100, Michael Olbrich wrote: we had some patches lately about configure

Re: [ptxdist] cross-compiling and uname

2012-01-20 Thread Juergen Beisert
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? Please not! It would be a hack, not a solution! jbe -- Pengutronix e.K.

Re: [ptxdist] cross-compiling and uname

2012-01-20 Thread Juergen Beisert
Robert Schwebel wrote: > On Fri, Jan 20, 2012 at 08:31:44AM +0100, Michael Olbrich wrote: > > On Fri, Jan 20, 2012 at 06:30:49AM +0100, Robert Schwebel wrote: > > > On Thu, Jan 19, 2012 at 10:47:55PM +0100, Michael Olbrich wrote: > > > > we had some patches lately about configure scripts etc. using

Re: [ptxdist] cross-compiling and uname

2012-01-21 Thread Bernhard Walle
Hi Michael, Am 19.01.12 22:47, schrieb Michael Olbrich: > > 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 th