diff options
author | Gianfranco <costamagna.gianfranco@gmail.com> | 2020-08-10 08:46:32 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-08-10 11:04:21 -0700 |
commit | 0b3ee7c8ba1e80fbfe86dbcf20dd5e51aaf1d8ff (patch) | |
tree | 7bbf478ded55336d4c309178a943139dd3e8af89 /meta-oe/recipes-extended | |
parent | b2fe766703e94cee2e3d1e21f3274789d6cd0c57 (diff) | |
download | meta-openembedded-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/recipes-extended')
-rw-r--r-- | meta-oe/recipes-extended/dlt-daemon/dlt-daemon_2.18.5.bb | 5 |
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 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" | |||
23 | 23 | ||
24 | S = "${WORKDIR}/git" | 24 | S = "${WORKDIR}/git" |
25 | 25 | ||
26 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES','systemd', d)}" | 26 | PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', ' systemd systemd-watchdog systemd-journal dlt-examples dlt-adaptor dlt-console ', '', d)} \ |
27 | udp-connection dlt-system dlt-filetransfer " | ||
28 | # dlt-dbus | ||
29 | |||
27 | # General options | 30 | # General options |
28 | PACKAGECONFIG[dlt-examples] = "-DWITH_DLT_EXAMPLES=ON,-DWITH_DLT_EXAMPLES=OFF,,dlt-daemon-systemd" | 31 | PACKAGECONFIG[dlt-examples] = "-DWITH_DLT_EXAMPLES=ON,-DWITH_DLT_EXAMPLES=OFF,,dlt-daemon-systemd" |
29 | 32 | ||