aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Rehsack <sno@netbsd.org>2020-01-02 10:25:02 +0100
committerKhem Raj <raj.khem@gmail.com>2020-01-02 09:48:20 -0800
commit4af6ada9785a98fa5fe3b1a71cbfc5a298b02d6b (patch)
treedaaa3f4bf46bfd4fe31b4472cdd9aa23e0801430
parente75ff6818aefa8e32c2314a541310844fa4880a4 (diff)
downloadmeta-openembedded-contrib-4af6ada9785a98fa5fe3b1a71cbfc5a298b02d6b.tar.gz
libstatgrab: add logging/tracing options
Introduce opportunity to enable/disable logging with and without log4cplus dependency. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-extended/libstatgrab/libstatgrab_0.92.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/libstatgrab/libstatgrab_0.92.bb b/meta-oe/recipes-extended/libstatgrab/libstatgrab_0.92.bb
index 4ede3c8c6b..c61d7c99dc 100644
--- a/meta-oe/recipes-extended/libstatgrab/libstatgrab_0.92.bb
+++ b/meta-oe/recipes-extended/libstatgrab/libstatgrab_0.92.bb
@@ -17,6 +17,11 @@ SRC_URI[sha256sum] = "5bf1906aff9ffc3eeacf32567270f4d819055d8386d98b9c8c05519012
# Perl5 is for tests only
EXTRA_OECONF = "--without-perl5 --with-mnttab=/proc/mounts"
+# use with caution - default properties are configured to trace
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[log4cplus] = "--with-log4cplus,--without-log4cplus,log4cplus"
+PACKAGECONFIG[logging] = "--enable-logging,--disable-logging,"
+
inherit autotools pkgconfig
FILES_statgrab = "${bindir}/statgrab"