aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorGianfranco <costamagna.gianfranco@gmail.com>2020-08-10 08:46:32 +0200
committerKhem Raj <raj.khem@gmail.com>2020-08-10 11:04:21 -0700
commit0b3ee7c8ba1e80fbfe86dbcf20dd5e51aaf1d8ff (patch)
tree7bbf478ded55336d4c309178a943139dd3e8af89 /meta-oe
parentb2fe766703e94cee2e3d1e21f3274789d6cd0c57 (diff)
downloadmeta-openembedded-contrib-0b3ee7c8ba1e80fbfe86dbcf20dd5e51aaf1d8ff.tar.gz
dlt-daemon: enable some configurations by default in PACKAGECONFIG
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> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-extended/dlt-daemon/dlt-daemon_2.18.5.bb5
1 files changed, 4 insertions, 1 deletions
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 2bb2107915..e7a194ac80 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"