* quoted string in a recipe variable?
@ 2017-03-24 12:08 Takashi Matsuzawa
2017-03-25 9:34 ` Takashi Matsuzawa
0 siblings, 1 reply; 2+ messages in thread
From: Takashi Matsuzawa @ 2017-03-24 12:08 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 459 bytes --]
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?
[-- Attachment #2: Type: text/html, Size: 1139 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: quoted string in a recipe variable?
2017-03-24 12:08 quoted string in a recipe variable? Takashi Matsuzawa
@ 2017-03-25 9:34 ` Takashi Matsuzawa
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Matsuzawa @ 2017-03-25 9:34 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 738 bytes --]
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@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?
[-- Attachment #2: Type: text/html, Size: 1830 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-03-25 10:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-24 12:08 quoted string in a recipe variable? Takashi Matsuzawa
2017-03-25 9:34 ` Takashi Matsuzawa
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.