[oe-commits] [meta-openembedded] 23/32: libstatgrab: add logging/tracing options

git at git.openembedded.org git at git.openembedded.org
Thu Jan 2 17:48:54 UTC 2020


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 4af6ada9785a98fa5fe3b1a71cbfc5a298b02d6b
Author: Jens Rehsack <sno at netbsd.org>
AuthorDate: Thu Jan 2 10:25:02 2020 +0100

    libstatgrab: add logging/tracing options
    
    Introduce opportunity to enable/disable logging with and without log4cplus
    dependency.
    
    Signed-off-by: Jens Rehsack <sno at netbsd.org>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-oe/recipes-extended/libstatgrab/libstatgrab_0.92.bb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta-oe/recipes-extended/libstatgrab/libstatgrab_0.92.bb b/meta-oe/recipes-extended/libstatgrab/libstatgrab_0.92.bb
index 4ede3c8..c61d7c9 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"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list