From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:6f8:1178:2:5054:ff:fec0:8e10] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Wz5z9-0006gW-Uw for ptxdist@pengutronix.de; Mon, 23 Jun 2014 17:16:43 +0200 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1Wz5z9-0000W8-TY for ptxdist@pengutronix.de; Mon, 23 Jun 2014 17:16:43 +0200 Date: Mon, 23 Jun 2014 17:16:43 +0200 From: Michael Olbrich Message-ID: <20140623151643.GF21175@pengutronix.de> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Subject: Re: [ptxdist] You need $$ for make and quotes (') for the shell: 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 Hi, always reply to the list please. On Mon, Jun 23, 2014 at 04:22:48PM +0200, marc doz wrote: > Thank you for you help > > I aleady try this solution : > @$(call install_copy, foo, 0, 0, 0755, '$(FOO_DIR)/AAA/foo$$1.bar' , > '/AAA/foo$$1.bar') > > > No suitable file '/AAA/foo.bar' could be found in any of these locations: > /home/mdoz/BSP/platform-phyFLEX-i.MX6/build-target/foo-0.1/AAA/foo.bar.phyFLEX-i.MX6 > /home/mdoz/BSP/platform-phyFLEX-i.MX6/build-target/foo-0.1/AAA/foo.bar > > install file: > src=BSP/platform-phyFLEX-i.MX6/build-target/foo-0.1/AAA/foo.bar > dst=/AAA/foo.bar > owner=0 > group=0 > permissions=0755 > > I will see this week if i can avoid this limitation of update install_copy Sorry, I only tested install_alternative, and it works there. For install_copy this should should do: @$(call install_copy, foo, 0, 0, 0755, $(FOO_DIR)/AAA/foo\$$1.bar, /foo\$$1.bar) 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