summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2018-06-11 18:24:48 (GMT)
committerPeter Korsgaard <peter@korsgaard.com>2018-06-11 20:05:36 (GMT)
commit2b88def5db35fc3f3b4e68c664c230bba33f0bb3 (patch)
tree96f80c17691db18951bf43b5c6157f8161ec8594
parent1b86479da599072d00683e15307962b013b998fe (diff)
downloadbuildroot-2b88def5db35fc3f3b4e68c664c230bba33f0bb3.tar.gz
buildroot-2b88def5db35fc3f3b4e68c664c230bba33f0bb3.tar.bz2
triggerhappy: add optional dependency on systemd
triggerhappy can use systemd for socket activation. Cc: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/triggerhappy/triggerhappy.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/triggerhappy/triggerhappy.mk b/package/triggerhappy/triggerhappy.mk
index 4c39ab5..7c4bf40 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