From 2b88def5db35fc3f3b4e68c664c230bba33f0bb3 Mon Sep 17 00:00:00 2001 From: Baruch Siach Date: Mon, 11 Jun 2018 21:24:48 +0300 Subject: [PATCH] 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 --- 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 -- 2.30.2