aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYong-iL Joh <yong-il.joh@windriver.com>2016-02-24 20:26:47 +0900
committerYong-iL Joh <yong-il.joh@windriver.com>2016-02-26 23:37:18 +0900
commitf916a9013fbb4f3aa07236b4b072f34c16fb305c (patch)
tree9a54cb6c7df73e85117e6df1e2860f2e8194ab08
parent3d40661d1b78522823eeed8fa2783db7f1b3c984 (diff)
downloadmeta-ivi-f916a9013fbb4f3aa07236b4b072f34c16fb305c.tar.gz
meta-ivi-f916a9013fbb4f3aa07236b4b072f34c16fb305c.tar.bz2
meta-ivi-f916a9013fbb4f3aa07236b4b072f34c16fb305c.zip
persistence-common-object: change the configure option to use key-value-store database, not ITZAM
Signed-off-by: Yong-iL Joh <yong-il.joh@windriver.com>
-rw-r--r--meta-ivi/recipes-extended/persistence-common-object/persistence-common-object_1.0.3.bb25
1 files changed, 24 insertions, 1 deletions
diff --git a/meta-ivi/recipes-extended/persistence-common-object/persistence-common-object_1.0.3.bb b/meta-ivi/recipes-extended/persistence-common-object/persistence-common-object_1.0.3.bb
index dd9e4fe..f486936 100644
--- a/meta-ivi/recipes-extended/persistence-common-object/persistence-common-object_1.0.3.bb
+++ b/meta-ivi/recipes-extended/persistence-common-object/persistence-common-object_1.0.3.bb
@@ -18,6 +18,29 @@ S = "${WORKDIR}/git"
inherit autotools-brokensep pkgconfig
-EXTRA_OECONF = "--with-dbuspolicydir=${sysconfdir}"
+EXTRA_OECONF = "--with-dbuspolicydir=${sysconfdir} --with-database=key-value-store"
FILES_${PN} += "${datadir}"
+
+#
+# for test
+#
+EXTRA_OECONF += "--enable-tests"
+
+do_install_append() {
+ install -d ${D}${bindir}
+ install -m 0755 ${S}/test/.libs/test_pco_key_value_store ${D}${bindir}
+}
+
+PACKAGES += "${PN}-testenv"
+RDEPENDS_${PN} += "${PN}-testenv"
+
+FILES_${PN} = " \
+ ${libdir}/*.so.* \
+ ${sysconfdir} \
+ ${datadir}/dbus-1/interfaces/* \
+ "
+
+FILES_${PN}-testenv = " \
+ ${bindir}/test_pco_key_value_store \
+ "