[Buildroot] [PATCH 4/5] fs/custom: generate complete, partition-based device images

Yann E. MORIN yann.morin.1998 at free.fr
Tue Nov 26 17:06:27 UTC 2013


Arnout, All,

On 2013-11-26 09:12 +0100, Arnout Vandecappelle spake thusly:
> >>On 25/11/13 23:45, Yann E. MORIN wrote:
> >My reasoning is I want varuable to be expanded, like in:
> >     BR2_TARGET_ROOTFS_CUSTOM_PARTITION_TABLE="$(TOPDIR)/board/raspberrypi/partitions"
> 
>  You do know that make doesn't interpret quotes or backslashes? So the \"
> construct is passed verbatim to the shell. The $(...) on the other hand is
> always expanded, except when quoted by doubling the $$.

Yes, I know both. Fact is, given the constructit is not easy to know who
would do the evaluation: make or the shell. But it has to be make, since
$(FOO) is not a variable expansion in shell. So yes, single quotes will
work, too.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'



More information about the buildroot mailing list