mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
package/rauc-hawkbit-updater: add systemd optional dependency
Take the systemd into account if present. Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
ee5bacaf4d
commit
4aa7a4ad8a
@@ -12,4 +12,11 @@ RAUC_HAWKBIT_UPDATER_LICENSE_FILES = LICENSE
|
|||||||
RAUC_HAWKBIT_UPDATER_DEPENDENCIES = json-glib libcurl
|
RAUC_HAWKBIT_UPDATER_DEPENDENCIES = json-glib libcurl
|
||||||
RAUC_HAWKBIT_UPDATER_CFLAGS = $(TARGET_CFLAGS) -std=c99
|
RAUC_HAWKBIT_UPDATER_CFLAGS = $(TARGET_CFLAGS) -std=c99
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_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))
|
$(eval $(meson-package))
|
||||||
|
|||||||
Reference in New Issue
Block a user