summaryrefslogtreecommitdiffstats
path: root/meta/classes/ccmake.bbclass
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2019-04-11 04:03:52 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-04-12 09:29:06 +0100
commit97f37fbda1dd75b101318c8e245d70fdd37d2b68 (patch)
tree9a137b44bf152b403c7f4d7def2ad561e5cf426c /meta/classes/ccmake.bbclass
parentbf45a3e222bda60685bf3b04c31401fce37cdd13 (diff)
downloadpoky-97f37fbda1dd75b101318c8e245d70fdd37d2b68.tar.gz
ccmake.bbclass: Fix up un-escaped quotes in output formatting
The quotes should be generated in the output to match the expected cmake syntax for setting cache variables. (From OE-Core rev: a19a6201c8cc255583bd014534b4a6ec2524070f) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/ccmake.bbclass')
-rw-r--r--meta/classes/ccmake.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/ccmake.bbclass b/meta/classes/ccmake.bbclass
index 4114daa61b..df5134a108 100644
--- a/meta/classes/ccmake.bbclass
+++ b/meta/classes/ccmake.bbclass
@@ -81,7 +81,7 @@ python do_ccmake_diffconfig() {
81 81
82 with open(d.expand("${WORKDIR}/site-file.cmake"), "w") as f: 82 with open(d.expand("${WORKDIR}/site-file.cmake"), "w") as f:
83 for k, kt, v in added: 83 for k, kt, v in added:
84 f.write("SET({0} \"{1}\" CACHE {2} "")\n".format(k, v, kt)) 84 f.write("SET({0} \"{1}\" CACHE {2} \"\")\n".format(k, v, kt))
85 bb.plain("Configuration cmake fragment written to: {0}".format(d.expand("${WORKDIR}/site-file.cmake"))) 85 bb.plain("Configuration cmake fragment written to: {0}".format(d.expand("${WORKDIR}/site-file.cmake")))
86 86
87 # restore the original config 87 # restore the original config