Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package: rauc-hawkbit-updater: add systemd optional dependency
@ 2024-07-10  9:41 Bartosz Bilas
  2024-07-10 12:27 ` Thomas Petazzoni via buildroot
  2024-07-23 14:34 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Bartosz Bilas @ 2024-07-10  9:41 UTC (permalink / raw)
  To: buildroot; +Cc: Bartosz Bilas, colin.foster

Take the systemd into account if present.

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
---
 package/rauc-hawkbit-updater/rauc-hawkbit-updater.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/rauc-hawkbit-updater/rauc-hawkbit-updater.mk b/package/rauc-hawkbit-updater/rauc-hawkbit-updater.mk
index 3836d3c84e..5cbef28306 100644
--- a/package/rauc-hawkbit-updater/rauc-hawkbit-updater.mk
+++ b/package/rauc-hawkbit-updater/rauc-hawkbit-updater.mk
@@ -12,4 +12,11 @@ RAUC_HAWKBIT_UPDATER_LICENSE_FILES = LICENSE
 RAUC_HAWKBIT_UPDATER_DEPENDENCIES = json-glib libcurl
 RAUC_HAWKBIT_UPDATER_CFLAGS = $(TARGET_CFLAGS) -std=c99
 
+ifeq ($(BR2_INIT_SYSTEMD),y)
+RAUC_HAWKBIT_UPDATER_DEPENDENCIES += systemd
+RAUC_HAWKBIT_UPDATER_CONF_OPTS += -Dsystemd=enabled
+else
+RAUC_HAWKBIT_UPDATER_CONF_OPTS += -Dsystemd=disabled
+endif
+
 $(eval $(meson-package))
-- 
2.45.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-07-23 14:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-10  9:41 [Buildroot] [PATCH] package: rauc-hawkbit-updater: add systemd optional dependency Bartosz Bilas
2024-07-10 12:27 ` Thomas Petazzoni via buildroot
2024-07-23 14:34 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox