[Buildroot] [git commit] triggerhappy: add optional dependency on systemd

Peter Korsgaard peter at korsgaard.com
Mon Jun 11 20:05:36 UTC 2018


commit: https://git.buildroot.net/buildroot/commit/?id=2b88def5db35fc3f3b4e68c664c230bba33f0bb3
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

triggerhappy can use systemd for socket activation.

Cc: Peter Korsgaard <peter at korsgaard.com>
Signed-off-by: Baruch Siach <baruch at tkos.co.il>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/triggerhappy/triggerhappy.mk | 4 ++++
 1 file changed, 4 insertions(+)

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



More information about the buildroot mailing list