[yocto] quoted string in a recipe variable?

Takashi Matsuzawa tmatsuzawa at xevo.com
Sat Mar 25 02:34:18 PDT 2017


I am sorry please ignore below.

I should put space after -D options so that cmake won't complain.

________________________________
From: Takashi Matsuzawa
Sent: Friday, March 24, 2017 9:08 PM
To: yocto at yoctoproject.org
Subject: quoted string in a recipe variable?


Hello, Yocto.
I am a bit confused with recipe syntax for variable assignment.

I wanto embed double-quoted string within a variable.
And I tried below and looks like the whole part of the string (A to B) is successfully assigned to EXTRA_OECMAKE variable.

EXTRA_OECMAKE = " \ <-- A
  "-D CMAKE_XXXX=xxxx \
  ...
  ...
  -D CMAKE_YYYY=yyyy" \
" <-- B

My question is, if this is a valid way of doing it?
Why bitbake parser is not confused?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170325/31716d0f/attachment.html>


More information about the yocto mailing list