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?
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto