aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Naour <romain.naour@gmail.com>2021-05-06 01:05:45 +0200
committerKhem Raj <raj.khem@gmail.com>2021-05-05 17:41:38 -0700
commita0f8491b49014d3cfe8efbb0992b818fd0786d9d (patch)
tree1b2f90a5a4a2dd61e392fcad4993c217591ee270
parente17e159d93999b231b96aa7c73e94376b68bb52a (diff)
downloadmeta-openembedded-contrib-a0f8491b49014d3cfe8efbb0992b818fd0786d9d.tar.gz
poke: add optional json-c dependency
From [1]: "The poke machine-interface uses a protocol to communicate with clients, which is based on JSON. poke uses the json-c library to parse and build JSON strings. If this library is not found, poke will build without machine-interface support." [1] https://git.savannah.nongnu.org/cgit/poke.git/tree/DEPENDENCIES?h=releases/poke-1.2#n55 Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-devtools/poke/poke_1.2.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-oe/recipes-devtools/poke/poke_1.2.bb b/meta-oe/recipes-devtools/poke/poke_1.2.bb
index dcb547ff87..dd118a0aa2 100644
--- a/meta-oe/recipes-devtools/poke/poke_1.2.bb
+++ b/meta-oe/recipes-devtools/poke/poke_1.2.bb
@@ -24,8 +24,9 @@ acpaths = "-I ./m4"
EXTRA_OECONF = "--disable-gui \
--disable-libnbd \
- --disable-mi \
--with-libreadline-prefix=${STAGING_INCDIR} \
"
+PACKAGECONFIG[mi] = "--enable-mi,--disable-mi,json-c"
+
FILES_${PN} += "${datadir}/emacs/site-lisp"