[meta-oe,4/4] dlt-daemon: enable some configurations by default in PACKAGECONFIG

Submitted by Gianfranco Costamagna on July 31, 2020, 2:43 p.m. | Patch ID: 174959

Details

Message ID 20200731144302.7074-4-costamagnagianfranco@yahoo.it
State Changes Requested
Commit 8168e50fa229ed0d68ccf6525ce02d584ee5b412
Headers show

Commit Message

Gianfranco Costamagna July 31, 2020, 2:43 p.m.
such as udp-connection dlt-system dlt-filetransfer and if systemd is enabled also:
- systemd
- systemd-watchdog
- systemd-journal
- dlt-examples
- dlt-adaptor
- dlt-console

rationale is:
all of the keys above are not that heavy in building and running,
and dlt-daemon doesn't take more than some seconds to build.
Not building them by default can result in a lot of missing functionalities
to the end user, such as the ability to talk with the dlt-daemon via
bash script or Python.

The end user can still change or disable something if needed.

Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org>
---
 meta-oe/recipes-extended/dlt-daemon/dlt-daemon_2.18.5.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon_2.18.5.bb b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon_2.18.5.bb
index 2bb210791..e7a194ac8 100644
--- a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon_2.18.5.bb
+++ b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon_2.18.5.bb
@@ -23,7 +23,10 @@  SRCREV = "f1ac087c766827b1d0ed9c3a814b3cc052e948f2"
 
 S = "${WORKDIR}/git"
 
-PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES','systemd', d)}"
+PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', ' systemd systemd-watchdog systemd-journal dlt-examples dlt-adaptor dlt-console ', '', d)} \
+ udp-connection dlt-system dlt-filetransfer "
+# dlt-dbus
+
 # General options
 PACKAGECONFIG[dlt-examples] = "-DWITH_DLT_EXAMPLES=ON,-DWITH_DLT_EXAMPLES=OFF,,dlt-daemon-systemd"