syslog-ng: Add examples PACKAGECONFIG option

There is not much point in building example modules for most people. But
let's disable them with a PACKAGECONFIG option, so anybody actually
interested can easily get them back.

Signed-off-by: Esben Haabendal <esben@geanix.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Esben Haabendal 2025-06-20 17:34:30 +02:00 committed by Khem Raj
parent 3ddaf0456b
commit 71eef026d9
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -64,6 +64,7 @@ PACKAGECONFIG[json] = "--enable-json,--disable-json,json-c,"
PACKAGECONFIG[tcp-wrapper] = "--enable-tcp-wrapper,--disable-tcp-wrapper,tcp-wrappers,"
PACKAGECONFIG[geoip] = "--enable-geoip,--disable-geoip,geoip,"
PACKAGECONFIG[native] = "--enable-native,--disable-native,,"
PACKAGECONFIG[examples] = "--enable-example-modules,--disable-example-modules,,"
do_install:append() {
install -d ${D}${sysconfdir}/${BPN}