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 <alex.aring@gmail.com>:
On Fri, Jun 20, 2014 at 03:05:43PM +0200, marc doz wrote:
> Hello,
>
>
> I’m writing a recipe & I’m 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 with
> install_copy & install_tree..
>
>
> Do you know  a way for escaping the $ ?
>
>
> $$ don’t seem work
>

does work \$ ?

- Alex

--
ptxdist mailing list
ptxdist@pengutronix.de