diff options
author | Jens Rehsack <sno@netbsd.org> | 2020-01-02 10:25:02 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-01-02 09:48:20 -0800 |
commit | 4af6ada9785a98fa5fe3b1a71cbfc5a298b02d6b (patch) | |
tree | daaa3f4bf46bfd4fe31b4472cdd9aa23e0801430 /meta-oe | |
parent | e75ff6818aefa8e32c2314a541310844fa4880a4 (diff) | |
download | meta-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>
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-extended/libstatgrab/libstatgrab_0.92.bb | 5 |
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" |