From: Baruch Siach Date: Mon, 11 Jun 2018 18:24:48 +0000 (+0300) Subject: triggerhappy: add optional dependency on systemd X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2b88def5db35fc3f3b4e68c664c230bba33f0bb3;p=buildroot.git triggerhappy: add optional dependency on systemd triggerhappy can use systemd for socket activation. Cc: Peter Korsgaard Signed-off-by: Baruch Siach Signed-off-by: Peter Korsgaard --- diff --git a/package/triggerhappy/triggerhappy.mk b/package/triggerhappy/triggerhappy.mk index 4c39ab5e5d..7c4bf40476 100644 --- a/package/triggerhappy/triggerhappy.mk +++ b/package/triggerhappy/triggerhappy.mk @@ -10,6 +10,10 @@ TRIGGERHAPPY_LICENSE = GPL-3.0+ TRIGGERHAPPY_LICENSE_FILES = COPYING TRIGGERHAPPY_DEPENDENCIES = host-pkgconf +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +TRIGGERHAPPY_DEPENDENCIES += systemd +endif + define TRIGGERHAPPY_BUILD_CMDS $(MAKE) $(TARGET_CONFIGURE_OPTS) PKGCONFIG="$(PKG_CONFIG_HOST_BINARY)" \ -C $(@D) thd th-cmd