mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] libftdi1: new package
Date: Thu, 28 Mar 2013 13:05:07 +0100	[thread overview]
Message-ID: <20130328120507.GF1289@pengutronix.de> (raw)
In-Reply-To: <51541E47.3060707@helmcke.name>

On Thu, Mar 28, 2013 at 11:41:11AM +0100, Andreas Helmcke wrote:
> Am 28.03.2013 10:36, schrieb Michael Olbrich:
> > On Tue, Mar 26, 2013 at 08:47:07PM +0100, Andreas Helmcke wrote:
> >> +ifdef PTXCONF_LIBFTDI1_EXAMPLES
> >> +	@for i in $(shell find $(LIBFTDI1_DIR)-build/examples -maxdepth 1 -type f -executable -printf "%f\n"); do \
> >> +		$(call install_copy, libftdi1, 0, 0, 0755, $(LIBFTDI1_DIR)-build/examples/$$i, /usr/local/bin/$$i); \
> >> +	done
> > 
> > 	@cd $(LIBFTDI1_DIR)-build/examples && \
> > 	for i in `find maxdepth 1 -type f -executable -printf "%f\n"`; do \
> > 		$(call install_copy, libftdi1, 0, 0, 0755, \
> > 			$(LIBFTDI1_DIR)-build/examples/$$i, \
> > 			/usr/bin/$$i); \
> > 	done
> > 
> > Note:
> >  [...]
> >  - don't use 'shell', it is executed when make starts, not when the target
> >    commands are executed
> 
> I just modified the example code which gets generated by "ptxdist newpackage src-cmake-prog".
> So someone should change this too.

Yes, I think that's broken too.

> btw: Why is ptxdist building its own host version of cmake rather than using
> the one, which is installed on the build host?

Cross compiling is tricky. I think I had to fix the Python detection three
times when we switched to a newer cmake version...

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
ptxdist@pengutronix.de

  reply	other threads:[~2013-03-28 12:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-26 19:47 Andreas Helmcke
2013-03-28  9:36 ` Michael Olbrich
2013-03-28 10:41   ` Andreas Helmcke
2013-03-28 12:05     ` Michael Olbrich [this message]
2013-03-28 10:44   ` [ptxdist] [PATCH-v2] " Andreas Helmcke
2013-03-31  8:17     ` Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130328120507.GF1289@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox