On Tue, Apr 17, 2012 at 01:45:04PM +0200, Bernhard Walle wrote:
> Hi,
> 
> * Michael Olbrich <[email protected]> [2012-04-17 13:24]:
> > On Tue, Apr 17, 2012 at 01:08:12PM +0200, Daniel Kriesten wrote:
> > [...]
> > > So, following your your document I end up with a working tool-chain, a
> > > working qemu-arm-softmmu and a working kernel, but no hdd img.
> > > I had to fix 
> > > .../lib/ptxdist-2012.04.0/scripts/genhdimg
> > > replacing seq by gseq. But the better approach may be a symlink in
> > > .../lib/ptxdist-2012.04.0/bin/
> > 
> > Well, genhdimg is the only user of 'seq', so I'd rather fix that. Would you
> > care to send a patch?
> 
> But gseq is not available on Linux. So I think adding it to the
> configure check is the only reasonable approach?
> 
> > [...]
> > > An other thing is xargs ... without the gnu version make distclean fails.
> > > The solution is to symlink in .../lib/ptxdist-2012.04.0/bin/, too.
> > 
> > It's "make clean" actually and that will remove the relevant symlink.
> > Would this work:
> 
> That one is already in ptxdist, after 2012.04:
> 
> http://git.pengutronix.de/?p=ptxdist.git;a=commit;h=394af1de808e6fc4c3cf921d36e1b1f887133eb7

Yes it's there, and calling "make clean" twice still breaks.

> > ------------------------------------------------------------------
> > diff --git a/Makefile.in b/Makefile.in
> > index 8382402..32784c8 100644
> > --- a/Makefile.in
> > +++ b/Makefile.in
> > @@ -63,7 +63,7 @@ environment:
> >  
> >  clean:
> >     @rm -f .done
> > -   @find "$(abs_srcdir)/bin" -type l -print0 | xargs -r -0 rm
> > +   @cd "$(abs_srcdir)/bin" && find -type l -print | xargs rm -f
> >     @$(MAKE) -C "$(abs_srcdir)/scripts/kconfig" clean
> 
> Maybe just -exec ? Maybe it is a bit slower? But see above.

I really don't care either way.

Michael

-- 
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
[email protected]

Reply via email to