From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wi0-x236.google.com ([2a00:1450:400c:c05::236]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Wxyf3-0005tk-W1 for ptxdist@pengutronix.de; Fri, 20 Jun 2014 15:15:36 +0200 Received: by mail-wi0-f182.google.com with SMTP id bs8so788016wib.9 for ; Fri, 20 Jun 2014 06:15:16 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20140620130830.GA29329@omega> References: <20140620130830.GA29329@omega> Date: Fri, 20 Jun 2014 15:15:16 +0200 Message-ID: From: marc doz Subject: Re: [ptxdist] how to escape $ in a rule ? Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1607375352==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de --===============1607375352== Content-Type: multipart/alternative; boundary=047d7b5d2deacc942c04fc4448ba --047d7b5d2deacc942c04fc4448ba Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, no AAA/foo$1.bar give AAA/foo.bar no AAA/foo\$1.bar give AAA/foo\.bar Marc 2014-06-20 15:08 GMT+02:00 Alexander Aring : > On Fri, Jun 20, 2014 at 03:05:43PM +0200, marc doz wrote: > > Hello, > > > > > > I=E2=80=99m writing a recipe & I=E2=80=99m using install_copy & install= _tree function in > my > > recipe foo.make > > > > $(call install_copy, foo, 0, 0, 0755, $(FOO_DIR)/AAA/foo$1.bar, > > /AAA/foo$1.bar) > > > > $(call install_tree, foo, 0, 0, 0755, $(FOO_DIR)/AAA/, /AAA/) > > > > > > I would like to avoid the substitution of $1 because the file name that= I > > would like embed is really foo$1.bar & ptxdist try to copy foo.bar wit= h > > install_copy & install_tree.. > > > > > > Do you know a way for escaping the $ ? > > > > > > $$ don=E2=80=99t seem work > > > > does work \$ ? > > - Alex > > -- > ptxdist mailing list > ptxdist@pengutronix.de > --047d7b5d2deacc942c04fc4448ba Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello,

no=C2=A0AAA/foo$1.= bar give=C2=A0AAA/foo.bar
no=C2=A0AAA/foo\$1.bar give=C2=A0AAA/foo\.bar

Marc


2014-06-20 15= :08 GMT+02:00 Alexander Aring <alex.aring@gmail.com>:
=
On Fri, Jun 20, 2014 at 03:05:43PM +0200, marc doz wrote: > Hello,
>
>
> I=E2=80=99m writing a recipe & I=E2=80=99m using install_copy &= ; install_tree function in my
> recipe foo.make
>
> $(call install_copy, foo, 0, 0, 0755, $(FOO_DIR)/AAA/foo$1.bar,
> /AAA/foo$1.bar)
>
> $(call install_tree, foo, 0, 0, 0755, $(FOO_DIR)/AAA/, /AAA/)
>
>
> I would like to avoid the substitution of $1 because the file name tha= t I
> would like embed is really foo$1.bar =C2=A0& ptxdist try to copy f= oo.bar with
> install_copy & install_tree..
>
>
> Do you know =C2=A0a way for escaping the $ ?
>
>
> $$ don=E2=80=99t seem work
>

does work \$ ?

- Alex

--
ptxdist mailing list
ptxdist@pengutronix.de

--047d7b5d2deacc942c04fc4448ba-- --===============1607375352== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============1607375352==-- 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 1Wxz0L-0007PE-OB for ptxdist@pengutronix.de; Fri, 20 Jun 2014 15:37:21 +0200 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1Wxz0L-0004Oz-MU for ptxdist@pengutronix.de; Fri, 20 Jun 2014 15:37:21 +0200 Date: Fri, 20 Jun 2014 15:37:21 +0200 From: Michael Olbrich Message-ID: <20140620133721.GB16625@pengutronix.de> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Subject: Re: [ptxdist] how to escape $ in a rule ? 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="utf-8" Content-Transfer-Encoding: base64 Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de SGksCgpPbiBGcmksIEp1biAyMCwgMjAxNCBhdCAwMzowNTo0M1BNICswMjAwLCBtYXJjIGRveiB3 cm90ZToKPiBJ4oCZbSB3cml0aW5nIGEgcmVjaXBlICYgSeKAmW0gdXNpbmcgaW5zdGFsbF9jb3B5 ICYgaW5zdGFsbF90cmVlIGZ1bmN0aW9uIGluIG15Cj4gcmVjaXBlIGZvby5tYWtlCj4gCj4gJChj YWxsIGluc3RhbGxfY29weSwgZm9vLCAwLCAwLCAwNzU1LCAkKEZPT19ESVIpL0FBQS9mb28kMS5i YXIsCj4gL0FBQS9mb28kMS5iYXIpCj4gCj4gJChjYWxsIGluc3RhbGxfdHJlZSwgZm9vLCAwLCAw LCAwNzU1LCAkKEZPT19ESVIpL0FBQS8sIC9BQUEvKQo+IAo+IAo+IEkgd291bGQgbGlrZSB0byBh dm9pZCB0aGUgc3Vic3RpdHV0aW9uIG9mICQxIGJlY2F1c2UgdGhlIGZpbGUgbmFtZSB0aGF0IEkK PiB3b3VsZCBsaWtlIGVtYmVkIGlzIHJlYWxseSBmb28kMS5iYXIgICYgcHR4ZGlzdCB0cnkgdG8g Y29weSBmb28uYmFyIHdpdGgKPiBpbnN0YWxsX2NvcHkgJiBpbnN0YWxsX3RyZWUuLgo+IAo+IAo+ IERvIHlvdSBrbm93ICBhIHdheSBmb3IgZXNjYXBpbmcgdGhlICQgPwo+IAo+IAo+ICQkIGRvbuKA mXQgc2VlbSB3b3JrCgokKGNhbGwgaW5zdGFsbF9jb3B5LCBmb28sIDAsIDAsIDA3NTUsIC0sIC9B QUEvZm9vJCQxLmJhcikKCnNob3VsZCB3b3JrLCBhdCBsZWFzdCB3aXRoIHRoZSBjdXJyZW50IHB0 eGRpc3QuIEknbSBub3Qgc3VyZSBhYm91dApwdHhkaXN0LTIwMTIuMDMuMCwgdGhhdCdzIHJhdGhl ciBvbGQuIFdoYXQgZXJyb3IgZG8geW91IGdldD8gTWF5YmUgeW91IG5lZWQKdG8gZXNjYXBlIGl0 IGFnYWluIChmb3IgbWFrZSBvciBzaGVsbCkuCgpNaWNoYWVsCgotLSAKUGVuZ3V0cm9uaXggZS5L LiAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAg IHwKSW5kdXN0cmlhbCBMaW51eCBTb2x1dGlvbnMgICAgICAgICAgICAgICAgIHwgaHR0cDovL3d3 dy5wZW5ndXRyb25peC5kZS8gIHwKUGVpbmVyIFN0ci4gNi04LCAzMTEzNyBIaWxkZXNoZWltLCBH ZXJtYW55IHwgUGhvbmU6ICs0OS01MTIxLTIwNjkxNy0wICAgIHwKQW10c2dlcmljaHQgSGlsZGVz aGVpbSwgSFJBIDI2ODYgICAgICAgICAgIHwgRmF4OiAgICs0OS01MTIxLTIwNjkxNy01NTU1IHwK Ci0tIApwdHhkaXN0IG1haWxpbmcgbGlzdApwdHhkaXN0QHBlbmd1dHJvbml4LmRlCg== From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wi0-x233.google.com ([2a00:1450:400c:c05::233]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Wz2iG-0008WR-Bu for ptxdist@pengutronix.de; Mon, 23 Jun 2014 13:47:06 +0200 Received: by mail-wi0-f179.google.com with SMTP id cc10so4062192wib.0 for ; Mon, 23 Jun 2014 04:46:57 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <20140620133721.GB16625@pengutronix.de> Date: Mon, 23 Jun 2014 13:46:56 +0200 Message-ID: From: marc doz Content-Type: multipart/mixed; boundary=f46d044282de7164b004fc7f6677 Subject: Re: [ptxdist] how to escape $ in a rule ? Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de --f46d044282de7164b004fc7f6677 Content-Type: multipart/alternative; boundary=f46d044282de7164ac04fc7f6675 --f46d044282de7164ac04fc7f6675 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 2014-06-20 15:52 GMT+02:00 marc doz : > hello, > Thanks but it don't work , > > I will prepare a test rule & a test package for monday in order to test > the different solutions & I will publish the log > > regards > marc > > > > > 2014-06-20 15:37 GMT+02:00 Michael Olbrich : > > Hi, >> >> On Fri, Jun 20, 2014 at 03:05:43PM +0200, marc doz wrote: >> > I=E2=80=99m writing a recipe & I=E2=80=99m using install_copy & instal= l_tree function >> in my >> > recipe foo.make >> > >> > $(call install_copy, foo, 0, 0, 0755, $(FOO_DIR)/AAA/foo$1.bar, >> > /AAA/foo$1.bar) >> > >> > $(call install_tree, foo, 0, 0, 0755, $(FOO_DIR)/AAA/, /AAA/) >> > >> > >> > I would like to avoid the substitution of $1 because the file name tha= t >> I >> > would like embed is really foo$1.bar & ptxdist try to copy foo.bar wi= th >> > install_copy & install_tree.. >> > >> > >> > Do you know a way for escaping the $ ? >> > >> > >> > $$ don=E2=80=99t seem work >> >> $(call install_copy, foo, 0, 0, 0755, -, /AAA/foo$$1.bar) >> >> should work, at least with the current ptxdist. I'm not sure about >> ptxdist-2012.03.0, that's rather old. What error do you get? Maybe you >> need >> to escape it again (for make or shell). >> >> 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 >> > > hello, please find the test results : regularFile -> regularFile foo$1.bar -> foo.bar foo\$1.bar -> foo\.bar foo$$1.bar -> foo.bar foo\$\$1.bar -> foo\.bar foo$\$1 ->foo.bar 'foo$1.bar' -> foo.bar 'foo\$1.bar' -> foo.bar 'foo$$1.bar' -> foo.bar 'foo\$\$1.bar' -> foo.bar 'foo$\$1.bar' -> foo.bar Test package ( foo-0.1.tar): diff -Naur foo/AAA/foo$1.bar foo-0.1/AAA/foo$1.bar --- foo/AAA/foo$1.bar 1970-01-01 01:00:00.000000000 +0100 +++ foo-0.1/AAA/foo$1.bar 2014-06-23 11:16:53.757159549 +0200 @@ -0,0 +1 @@ +foo$1.bar diff -Naur foo/AAA/regularFile foo-0.1/AAA/regularFile --- foo/AAA/regularFile 1970-01-01 01:00:00.000000000 +0100 +++ foo-0.1/AAA/regularFile 2014-06-23 11:18:10.725160705 +0200 @@ -0,0 +1 @@ +regularFile ptdist rules foo.make : PACKAGES-$(PTXCONF_FOO) +=3D foo FOO_VERSION :=3D 0.1 FOO_MD5 :=3D 6c45d1d62dc7beafecdd0362e40b95de FOO :=3D foo-$(FOO_VERSION) FOO_SUFFIX :=3D tar FOO_URL :=3D FOO_SOURCE :=3D $(SRCDIR)/$(FOO).$(FOO_SUFFIX) FOO_DIR :=3D $(BUILDDIR)/$(FOO) FOO_LICENSE :=3D unknown $(STATEDIR)/foo.compile: @$(call targetinfo) # do nothing @$(call touch) $(STATEDIR)/foo.install: @$(call targetinfo) # do nothing @$(call touch) $(STATEDIR)/foo.targetinstall: @$(call targetinfo) @$(call install_init, foo) @$(call install_fixup, foo,PRIORITY,optional) @$(call install_fixup, foo,SECTION,base) @$(call install_fixup, foo,AUTHOR,"marc") @$(call install_fixup, foo,DESCRIPTION,missing) # @$(call install_copy, foo, 0, 0, 0755, $(FOO_DIR)/AAA/regularFile , /AAA/regularFile) # @$(call install_copy, foo, 0, 0, 0755, $(FOO_DIR)/AAA/foo$1.bar , /AAA/foo$1.bar) @$(call install_copy, foo, 0, 0, 0755, $(FOO_DIR)/AAA/foo\$1.bar , /AAA/foo\$1.bar) # @$(call install_copy, foo, 0, 0, 0755, $(FOO_DIR)/AAA/foo$$1.bar , /AAA/foo$$1.bar) # @$(call install_copy, foo, 0, 0, 0755, $(FOO_DIR)/AAA/foo\$\$1.bar , /AAA/foo\$\$1.bar) # @$(call install_copy, foo, 0, 0, 0755, $(FOO_DIR)/AAA/foo$\$1.bar , /AAA/foo$\$1.bar) # @$(call install_copy, foo, 0, 0, 0755, $(FOO_DIR)/foobar, /dev/null) @$(call install_finish, foo) @$(call touch) # vim: syntax=3Dmake foo.in : ## SECTION=3Dproject_specific config FOO tristate prompt "foo" help FIXME these error messages are printed during tests : A) @$(call install_copy, foo, 0, 0, 0755, $(FOO_DIR)/AAA/regularFile , /AAA/regularFile) install file: src=3DBSP/platform-phyFLEX-i.MX6/build-target/foo-0.1/AAA/regularFile dst=3D/AAA/regularFile owner=3D0 group=3D0 permissions=3D0755 B) @$(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.phyF= LEX-i.MX6 /home/mdoz/BSP/platform-phyFLEX-i.MX6/build-target/foo-0.1/AAA/foo.bar install file: src=3DBSP/platform-phyFLEX-i.MX6/build-target/foo-0.1/AAA/foo.bar dst=3D/AAA/foo.bar owner=3D0 group=3D0 permissions=3D0755 Error: file not found: /home/mdoz/BSP/platform-phyFLEX-i.MX6/build-target/foo-0.1/AAA/foo.bar C) @$(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.phy= FLEX-i.MX6 /home/mdoz/BSP/platform-phyFLEX-i.MX6/build-target/foo-0.1/AAA/foo\.bar install file: src=3DBSP/platform-phyFLEX-i.MX6/build-target/foo-0.1/AAA/foo\.bar dst=3D/AAA/foo\.bar owner=3D0 group=3D0 permissions=3D0755 Error: file not found: /home/mdoz/BSP/platform-phyFLEX-i.MX6/build-target/foo-0.1/AAA/foo\.bar D) @$(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.phyF= LEX-i.MX6 /home/mdoz/BSP/platform-phyFLEX-i.MX6/build-target/foo-0.1/AAA/foo.bar install file: src=3DBSP/platform-phyFLEX-i.MX6/build-target/foo-0.1/AAA/foo.bar dst=3D/AAA/foo.bar owner=3D0 group=3D0 permissions=3D0755 Error: file not found: /home/mdoz/BSP/platform-phyFLEX-i.MX6/build-target/foo-0.1/AAA/foo.bar E) @$(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.phy= FLEX-i.MX6 /home/mdoz/BSP/platform-phyFLEX-i.MX6/build-target/foo-0.1/AAA/foo\.bar install file: src=3DBSP/platform-phyFLEX-i.MX6/build-target/foo-0.1/AAA/foo\.bar dst=3D/AAA/foo\.bar owner=3D0 group=3D0 permissions=3D0755 Error: file not found: /home/mdoz/BSP/platform-phyFLEX-i.MX6/build-target/foo-0.1/AAA/foo\.bar Error: install_file failed! F) @$(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.phyF= LEX-i.MX6 /home/mdoz/BSP/platform-phyFLEX-i.MX6/build-target/foo-0.1/AAA/foo.bar install file: src=3DBSP/platform-phyFLEX-i.MX6/build-target/foo-0.1/AAA/foo.bar dst=3D/AAA/foo.bar owner=3D0 group=3D0 permissions=3D0755 Error: file not found: /home/mdoz/BSP/platform-phyFLEX-i.MX6/build-target/foo-0.1/AAA/foo.bar regards, Marc --f46d044282de7164ac04fc7f6675 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
2014-06-20 15:52 GMT+02:00 marc doz <doz.marc@gmail= .com>:
hello,=C2=A0
Thanks but it don't = work ,

I will prepare a test rule & a test package for mon= day in order to test the different solutions & I will publish the log

regards
marc




2014-06-2= 0 15:37 GMT+02:00 Michael Olbrich <m.olbrich@pengutronix.de>= :

Hi,

On Fri, Jun 20, 2014 at 03:05:43PM +0200, marc doz wrote:
> I=E2=80=99m writing a recipe & I=E2=80=99m using instal= l_copy & install_tree function in my
> recipe foo.make
>
> $(call install_copy, foo, 0, 0, 0755, $(FOO_DIR)/AAA/foo$1.bar,
> /AAA/foo$1.bar)
>
> $(call install_tree, foo, 0, 0, 0755, $(FOO_DIR)/AAA/, /AAA/)
>
>
> I would like to avoid the substitution of $1 because the file name tha= t I
> would like embed is really foo$1.bar =C2=A0& ptxdist try to copy f= oo.bar with
> install_copy & install_tree..
>
>
> Do you know =C2=A0a way for escaping the $ ?
>
>
> $$ don=E2=80=99t seem work

$(call install_copy, foo, 0, 0, 0755, -, /AAA/foo$$1.bar)

should work, at least with the current ptxdist. I'm not sure about
ptxdist-2012.03.0, that's rather old. What error do you get? Maybe you = need
to escape it again (for make or shell).

Michael

--
Pengutronix e.K. =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |
Industrial Linux Solutions =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 | http://w= ww.pengutronix.de/ =C2=A0|
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 =C2=A0 =C2=A0|
Amtsgericht Hildesheim, HRA 2686 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | Fax: = =C2=A0
+49-5121-206917-5555 |

--
ptxdist mailing list
ptxdist@pengutr= onix.de



hello,

please find the test results :<= /div>

regularFile -> regularFile
foo$1.bar = =C2=A0 -> foo.bar
foo\$1.bar =C2=A0-> foo\.bar
foo$$1.bar =C2=A0-> foo.b= ar=C2=A0
foo\$= \$1.bar -> foo\.bar
foo$\$1 =C2=A0 =C2=A0 =C2=A0->foo.bar= =C2=A0
'foo$1.bar' -> foo.bar
'foo\$1.bar' -> foo.bar
'foo$$1.bar' ->= ; foo.bar
'foo\$\$1.bar' -> foo.bar
'foo= $\$1.bar' -> foo.bar



Test package ( foo-0.1.tar):=C2=A0

diff= -Naur foo/AAA/foo$1.bar foo-0.1/AAA/foo$1.bar
--- foo/AAA/foo$1.= bar 1970-01-01 01:00:00.0= 00000000 +0100
+++ foo-0.1/AAA/foo$1.bar <= /span>2014-06-23 11:16:53.757159549 +0200
@@ -0,0 +1 @@
+foo$1.bar
diff -Naur foo/AAA/regularFile foo-0.1/AAA/regularFil= e
--- foo/AAA/regularFile 1970-01-01 01:00:00.000000000 +0100
+++ foo-0.1/AAA/regularFi= le 2014-06-23 11:18:10.72= 5160705 +0200
@@ -0,0 +1 @@
+regularFile

ptdist r= ules=C2=A0
foo.make :
PACKAGES-$(PTXCONF_FOO) +=3D foo<= /div>

FOO_VERSION :=3D 0.1
FOO_MD5 :=3D 6c45d1= d62dc7beafecdd0362e40b95de
FOO :=3D foo-$(FOO_VERSION)
FOO_SUFFIX :=3D tar
FOO_URL :=3D=C2=A0<= /div>
FOO_SOURCE :=3D= $(SRCDIR)/$(FOO).$(FOO_SUFFIX)
FOO_DIR :=3D $(BUILDDIR)/$(FOO)
FOO_LICENSE :=3D unk= nown


$(STATEDIR)/foo.compile:
=
@$(call targetinfo)=
# do nothing
<= div> @$(call touch)
=

$(STATEDIR)/foo.install:
@$(call targetinfo)
# do nothing
<= div> @$(call touch)
=

$(STATEDIR)/foo.targetinstall:
@$(call targetinfo)

@$(c= all install_init, foo)
@$(call install_fixup, foo,PRIORITY,optional)
@$(call install_fixup, foo,SECTION= ,base)
@$(call install_fix= up, foo,AUTHOR,"marc")
@$(call install_fixup, foo,DESCRIPTION,missing)
# @$(call install_copy,= foo, 0, 0, 0755, $(FOO_DIR)/AAA/regularFile , /AAA/regularFile)
# @$(call install_co= py, foo, 0, 0, 0755, $(FOO_DIR)/AAA/foo$1.bar , /AAA/foo$1.bar)
<= span class=3D"" style=3D"white-space:pre"> @$(call install_copy, foo= , 0, 0, 0755, $(FOO_DIR)/AAA/foo\$1.bar , /AAA/foo\$1.bar)
# @$(call install_co= py, foo, 0, 0, 0755, $(FOO_DIR)/AAA/foo$$1.bar , /AAA/foo$$1.bar)
# @$(call install_copy, = foo, 0, 0, 0755, $(FOO_DIR)/AAA/foo\$\$1.bar , /AAA/foo\$\$1.bar)
# @$(call install_co= py, foo, 0, 0, 0755, $(FOO_DIR)/AAA/foo$\$1.bar , /AAA/foo$\$1.bar)

# @$(ca= ll install_copy, foo, 0, 0, 0755, $(FOO_DIR)/foobar, /dev/null)

@$(c= all install_finish, foo)

@$(call touch)


# vim: syntax=3Dmake

foo= .in :=C2=A0
## SECTION=3Dproject_specific

config FOO
tristate
prompt "foo&qu= ot;
help
=
=C2=A0=C2=A0FIXME

these error messages are printed during =C2=A0tests :
A) @$(call install_copy, foo, 0, 0, 0755, $(FOO_DIR)/AAA/regul= arFile , /AAA/regularFile) =C2=A0

install file:
=C2=A0 src=3DBSP/platform-phyFLEX-i.MX6/build-target/foo-0.1/AAA/regularFil= e
=C2=A0 dst=3D/AAA/regularFile
=C2=A0 owner=3D0
<= div>=C2=A0 group=3D0
=C2=A0 permissions=3D0755

B) @$(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/pla= tform-phyFLEX-i.MX6/build-target/foo-0.1/AAA/foo.bar

install file:
=C2=A0 src=3DBSP/platform-phyFL= EX-i.MX6/build-target/foo-0.1/AAA/foo.bar
=C2=A0 dst=3D/AAA/foo.b= ar
=C2=A0 owner=3D0
=C2=A0 group=3D0
=C2=A0 p= ermissions=3D0755


Error: file not found: /home/mdoz/BSP/platform-ph= yFLEX-i.MX6/build-target/foo-0.1/AAA/foo.bar

C) @$= (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/p= latform-phyFLEX-i.MX6/build-target/foo-0.1/AAA/foo\.bar

install file:
=C2=A0 src=3DBSP/platform-phyFL= EX-i.MX6/build-target/foo-0.1/AAA/foo\.bar
=C2=A0 dst=3D/AAA/foo\= .bar
=C2=A0 owner=3D0
=C2=A0 group=3D0
=C2=A0= permissions=3D0755


Error: file not found: /home/mdoz/BSP/platform-ph= yFLEX-i.MX6/build-target/foo-0.1/AAA/foo\.bar


=
D) @$(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/pla= tform-phyFLEX-i.MX6/build-target/foo-0.1/AAA/foo.bar

install file:
=C2=A0 src=3DBSP/platform-phyFL= EX-i.MX6/build-target/foo-0.1/AAA/foo.bar
=C2=A0 dst=3D/AAA/foo.b= ar
=C2=A0 owner=3D0
=C2=A0 group=3D0
=C2=A0 p= ermissions=3D0755


Error: file not found: /home/mdoz/BSP/platform-ph= yFLEX-i.MX6/build-target/foo-0.1/AAA/foo.bar

E) @$= (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 thes= e locations:
/home/mdoz/BSP/platform-phyFLEX-i.MX6/build-target/f= oo-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:
=C2=A0 src=3DBSP/platform-phyFL= EX-i.MX6/build-target/foo-0.1/AAA/foo\.bar
=C2=A0 dst=3D/AAA/foo\= .bar
=C2=A0 owner=3D0
=C2=A0 group=3D0
=C2=A0= permissions=3D0755


Error: file not found: /home/mdoz/BSP/platform-ph= yFLEX-i.MX6/build-target/foo-0.1/AAA/foo\.bar

Erro= r: install_file failed!

F) @$(call install_copy, f= oo, 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/fo= o-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:
=C2=A0 src=3DBSP/platform-phyFL= EX-i.MX6/build-target/foo-0.1/AAA/foo.bar
=C2=A0 dst=3D/AAA/foo.b= ar
=C2=A0 owner=3D0
=C2=A0 group=3D0
=C2=A0 p= ermissions=3D0755


Error: file not found: /home/mdoz/BSP/platform-ph= yFLEX-i.MX6/build-target/foo-0.1/AAA/foo.bar

regar= ds,
Marc
--f46d044282de7164ac04fc7f6675-- --f46d044282de7164b004fc7f6677 Content-Type: application/x-tar; name="foo-0.1.tar" Content-Disposition: attachment; filename="foo-0.1.tar" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hwrpsm7b1 Zm9vLTAuMS8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAwMDA3NzUAMDAwMTc1 MAAwMDAxNzUwADAwMDAwMDAwMDAwADEyMzUxNzcwMDUxADAxMDY0NAAgNQAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB1c3RhciAgAG1kb3oAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAbWRvegAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABm b28tMC4xL0FBQS8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMDAwMDc3NQAw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AAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA== --f46d044282de7164b004fc7f6677 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --f46d044282de7164b004fc7f6677-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-we0-x22b.google.com ([2a00:1450:400c:c03::22b]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1WxyVq-0005Jd-OW for ptxdist@pengutronix.de; Fri, 20 Jun 2014 15:05:51 +0200 Received: by mail-we0-f171.google.com with SMTP id q58so3814332wes.16 for ; Fri, 20 Jun 2014 06:05:45 -0700 (PDT) MIME-Version: 1.0 Date: Fri, 20 Jun 2014 15:05:43 +0200 Message-ID: From: marc doz Subject: [ptxdist] how to escape $ in a rule ? Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1094578864==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de --===============1094578864== Content-Type: multipart/alternative; boundary=001a11c1b326ad8ec904fc442666 --001a11c1b326ad8ec904fc442666 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, I=E2=80=99m writing a recipe & I=E2=80=99m using install_copy & install_tre= e function in my recipe foo.make $(call install_copy, foo, 0, 0, 0755, $(FOO_DIR)/AAA/foo$1.bar, /AAA/foo$1.bar) $(call install_tree, foo, 0, 0, 0755, $(FOO_DIR)/AAA/, /AAA/) I would like to avoid the substitution of $1 because the file name that I would like embed is really foo$1.bar & ptxdist try to copy foo.bar with install_copy & install_tree.. Do you know a way for escaping the $ ? $$ don=E2=80=99t seem work Thank you for your attention #ptxdist version 2012.03.0 Marc --001a11c1b326ad8ec904fc442666 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Hello,

I=E2=80=99m writing a recipe & I=E2=80=99m using= install_copy & install_tree function in my recipe foo.make

$(call install_copy, foo, 0, 0, 0755, $(FOO_DIR)/AAA= /foo$1.bar, /AAA/foo$1.bar)

$(call install_tree, foo, 0, 0, 0755, $(FOO_DIR)/AAA= /, /AAA/)


I would like to avoid= the substitution of $1 because the file name that I would like embed is really foo$1.bar=C2=A0 & ptxdist t= ry to copy foo.bar with install_copy & install_tree..


Do you know=C2=A0 a w= ay for escaping the $ ?


$$ don=E2=80=99t seem= work


Thank you for your at= tention


#ptxdist version

2012.03.0


Marc

--001a11c1b326ad8ec904fc442666-- --===============1094578864== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============1094578864==-- 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 1Wz4Ak-0006WI-EM for ptxdist@pengutronix.de; Mon, 23 Jun 2014 15:20:34 +0200 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1Wz4Ak-0004Pp-Cq for ptxdist@pengutronix.de; Mon, 23 Jun 2014 15:20:34 +0200 Date: Mon, 23 Jun 2014 15:20:34 +0200 From: Michael Olbrich Message-ID: <20140623132034.GG16937@pengutronix.de> References: <20140620133721.GB16625@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Subject: Re: [ptxdist] how to escape $ in a rule ? 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 On Mon, Jun 23, 2014 at 01:46:56PM +0200, marc doz wrote: > regularFile -> regularFile > foo$1.bar -> foo.bar > foo\$1.bar -> foo\.bar > foo$$1.bar -> foo.bar > foo\$\$1.bar -> foo\.bar > foo$\$1 ->foo.bar > 'foo$1.bar' -> foo.bar > 'foo\$1.bar' -> foo.bar > 'foo$$1.bar' -> foo.bar > 'foo\$\$1.bar' -> foo.bar > 'foo$\$1.bar' -> foo.bar You need $$ for make and quotes (') for the shell: @$(call install_copy, foo, 0, 0, 0755, '$(FOO_DIR)/AAA/foo$$1.bar' , '/AAA/foo$$1.bar') For newer ptxdist versions you probably need to remove the quotes. 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wi0-x22e.google.com ([2a00:1450:400c:c05::22e]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1WxzEv-0008EE-IZ for ptxdist@pengutronix.de; Fri, 20 Jun 2014 15:52:26 +0200 Received: by mail-wi0-f174.google.com with SMTP id bs8so847765wib.13 for ; Fri, 20 Jun 2014 06:52:18 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20140620133721.GB16625@pengutronix.de> References: <20140620133721.GB16625@pengutronix.de> Date: Fri, 20 Jun 2014 15:52:18 +0200 Message-ID: From: marc doz Subject: Re: [ptxdist] how to escape $ in a rule ? Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1924689822==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de --===============1924689822== Content-Type: multipart/alternative; boundary=f46d044282aa3e576704fc44cdd2 --f46d044282aa3e576704fc44cdd2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable hello, Thanks but it don't work , I will prepare a test rule & a test package for monday in order to test the different solutions & I will publish the log regards marc 2014-06-20 15:37 GMT+02:00 Michael Olbrich : > Hi, > > On Fri, Jun 20, 2014 at 03:05:43PM +0200, marc doz wrote: > > I=E2=80=99m writing a recipe & I=E2=80=99m using install_copy & install= _tree function in > my > > recipe foo.make > > > > $(call install_copy, foo, 0, 0, 0755, $(FOO_DIR)/AAA/foo$1.bar, > > /AAA/foo$1.bar) > > > > $(call install_tree, foo, 0, 0, 0755, $(FOO_DIR)/AAA/, /AAA/) > > > > > > I would like to avoid the substitution of $1 because the file name that= I > > would like embed is really foo$1.bar & ptxdist try to copy foo.bar wit= h > > install_copy & install_tree.. > > > > > > Do you know a way for escaping the $ ? > > > > > > $$ don=E2=80=99t seem work > > $(call install_copy, foo, 0, 0, 0755, -, /AAA/foo$$1.bar) > > should work, at least with the current ptxdist. I'm not sure about > ptxdist-2012.03.0, that's rather old. What error do you get? Maybe you ne= ed > to escape it again (for make or shell). > > 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 > --f46d044282aa3e576704fc44cdd2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
hello,=C2=A0
Thanks but it don't work ,
=
I will prepare a test rule & a test package for monday i= n order to test the different solutions & I will publish the log
<= div>
regards
marc




2014-06-2= 0 15:37 GMT+02:00 Michael Olbrich <m.olbrich@pengutronix.de>= :
Hi,

On Fri, Jun 20, 2014 at 03:05:43PM +0200, marc doz wrote:
> I=E2=80=99m writing a recipe & I=E2=80=99m u= sing install_copy & install_tree function in my
> recipe foo.make
>
> $(call install_copy, foo, 0, 0, 0755, $(FOO_DIR)/AAA/foo$1.bar,
> /AAA/foo$1.bar)
>
> $(call install_tree, foo, 0, 0, 0755, $(FOO_DIR)/AAA/, /AAA/)
>
>
> I would like to avoid the substitution of $1 because the file name tha= t I
> would like embed is really foo$1.bar =C2=A0& ptxdist try to copy f= oo.bar with
> install_copy & install_tree..
>
>
> Do you know =C2=A0a way for escaping the $ ?
>
>
> $$ don=E2=80=99t seem work

$(call install_copy, foo, 0, 0, 0755, -, /AAA/foo$$1.bar)

should work, at least with the current ptxdist. I'm not sure about
ptxdist-2012.03.0, that's rather old. What error do you get? Maybe you = need
to escape it again (for make or shell).

Michael

--
Pengutronix e.K. =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |
Industrial Linux Solutions =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 | http://w= ww.pengutronix.de/ =C2=A0|
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 =C2=A0 =C2=A0|<= br> Amtsgericht Hildesheim, HRA 2686 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | Fax: = =C2=A0 += 49-5121-206917-5555 |

--
ptxdist mailing list
ptxdist@pengutronix.de

--f46d044282aa3e576704fc44cdd2-- --===============1924689822== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============1924689822==-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-we0-x22f.google.com ([2a00:1450:400c:c03::22f]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1WxyYi-0005W1-TF for ptxdist@pengutronix.de; Fri, 20 Jun 2014 15:09:07 +0200 Received: by mail-we0-f175.google.com with SMTP id k48so3712498wev.6 for ; Fri, 20 Jun 2014 06:08:40 -0700 (PDT) Received: from omega (p20030064A94744D2E2CB4EFFFE1BB546.dip0.t-ipconnect.de. [2003:64:a947:44d2:e2cb:4eff:fe1b:b546]) by mx.google.com with ESMTPSA id l5sm4608254wif.22.2014.06.20.06.08.39 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Jun 2014 06:08:40 -0700 (PDT) Date: Fri, 20 Jun 2014 15:08:33 +0200 From: Alexander Aring Message-ID: <20140620130830.GA29329@omega> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Subject: Re: [ptxdist] how to escape $ in a rule ? 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="utf-8" Content-Transfer-Encoding: base64 Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de T24gRnJpLCBKdW4gMjAsIDIwMTQgYXQgMDM6MDU6NDNQTSArMDIwMCwgbWFyYyBkb3ogd3JvdGU6 Cj4gSGVsbG8sCj4gCj4gCj4gSeKAmW0gd3JpdGluZyBhIHJlY2lwZSAmIEnigJltIHVzaW5nIGlu c3RhbGxfY29weSAmIGluc3RhbGxfdHJlZSBmdW5jdGlvbiBpbiBteQo+IHJlY2lwZSBmb28ubWFr ZQo+IAo+ICQoY2FsbCBpbnN0YWxsX2NvcHksIGZvbywgMCwgMCwgMDc1NSwgJChGT09fRElSKS9B QUEvZm9vJDEuYmFyLAo+IC9BQUEvZm9vJDEuYmFyKQo+IAo+ICQoY2FsbCBpbnN0YWxsX3RyZWUs IGZvbywgMCwgMCwgMDc1NSwgJChGT09fRElSKS9BQUEvLCAvQUFBLykKPiAKPiAKPiBJIHdvdWxk IGxpa2UgdG8gYXZvaWQgdGhlIHN1YnN0aXR1dGlvbiBvZiAkMSBiZWNhdXNlIHRoZSBmaWxlIG5h bWUgdGhhdCBJCj4gd291bGQgbGlrZSBlbWJlZCBpcyByZWFsbHkgZm9vJDEuYmFyICAmIHB0eGRp c3QgdHJ5IHRvIGNvcHkgZm9vLmJhciB3aXRoCj4gaW5zdGFsbF9jb3B5ICYgaW5zdGFsbF90cmVl Li4KPiAKPiAKPiBEbyB5b3Uga25vdyAgYSB3YXkgZm9yIGVzY2FwaW5nIHRoZSAkID8KPiAKPiAK PiAkJCBkb27igJl0IHNlZW0gd29yawo+IAoKZG9lcyB3b3JrIFwkID8KCi0gQWxleAoKLS0gCnB0 eGRpc3QgbWFpbGluZyBsaXN0CnB0eGRpc3RAcGVuZ3V0cm9uaXguZGUK