diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-10-10 17:47:38 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-10-10 21:58:10 -0700 |
commit | 0272da33e7abf5c76c2a010913e8618cb1e9d6a7 (patch) | |
tree | 8b30515beb8f276152a6440c456dda6f0509c22a /meta-oe/recipes-devtools | |
parent | 8887455a442aa5377ebef9d84d0c61884540154a (diff) | |
download | meta-openembedded-0272da33e7abf5c76c2a010913e8618cb1e9d6a7.tar.gz |
jsonrpc: Disable coverage in default build
Building with intrumentation is only useful during development or
optimization phases, in production, this will just make it slow and in
some cases not work where file system might be readonly.
If its needed then enable the packageconfig via a bbappend
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools')
-rw-r--r-- | meta-oe/recipes-devtools/jsonrpc/jsonrpc_1.2.0.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/jsonrpc/jsonrpc_1.2.0.bb b/meta-oe/recipes-devtools/jsonrpc/jsonrpc_1.2.0.bb index b23775708..dbf44d796 100644 --- a/meta-oe/recipes-devtools/jsonrpc/jsonrpc_1.2.0.bb +++ b/meta-oe/recipes-devtools/jsonrpc/jsonrpc_1.2.0.bb | |||
@@ -14,6 +14,9 @@ SRCREV = "4ed5b00dcc409405a19e6d8c6478f703153430e1" | |||
14 | 14 | ||
15 | S = "${WORKDIR}/git" | 15 | S = "${WORKDIR}/git" |
16 | 16 | ||
17 | PACKAGECONFIG ?= "" | ||
18 | PACKAGECONFIG[coverage] = "-DWITH_COVERAGE=YES,-DWITH_COVERAGE=NO,," | ||
19 | |||
17 | inherit cmake | 20 | inherit cmake |
18 | 21 | ||
19 | EXTRA_OECMAKE += "-DCOMPILE_TESTS=NO -DCOMPILE_STUBGEN=NO -DCOMPILE_EXAMPLES=NO \ | 22 | EXTRA_OECMAKE += "-DCOMPILE_TESTS=NO -DCOMPILE_STUBGEN=NO -DCOMPILE_EXAMPLES=NO \ |