From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from dd27114.kasserver.com ([85.13.133.83]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1ULAGf-0007Xd-13 for ptxdist@pengutronix.de; Thu, 28 Mar 2013 11:41:13 +0100 Received: from [10.0.1.177] (mail.ela-soft.com [213.23.49.162]) by dd27114.kasserver.com (Postfix) with ESMTPSA id 49AB625C09B1 for ; Thu, 28 Mar 2013 11:41:12 +0100 (CET) Message-ID: <51541E47.3060707@helmcke.name> Date: Thu, 28 Mar 2013 11:41:11 +0100 From: Andreas Helmcke MIME-Version: 1.0 References: <5151FB3B.4090509@helmcke.name> <20130328093633.GA1289@pengutronix.de> In-Reply-To: <20130328093633.GA1289@pengutronix.de> Subject: Re: [ptxdist] [PATCH] libftdi1: new package 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 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. btw: Why is ptxdist building its own host version of cmake rather than using the one, which is installed on the build host? -- ptxdist mailing list ptxdist@pengutronix.de