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>
This commit is contained in:
parent
1b86479da5
commit
2b88def5db
|
@ -10,6 +10,10 @@ TRIGGERHAPPY_LICENSE = GPL-3.0+
|
||||||
TRIGGERHAPPY_LICENSE_FILES = COPYING
|
TRIGGERHAPPY_LICENSE_FILES = COPYING
|
||||||
TRIGGERHAPPY_DEPENDENCIES = host-pkgconf
|
TRIGGERHAPPY_DEPENDENCIES = host-pkgconf
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
|
||||||
|
TRIGGERHAPPY_DEPENDENCIES += systemd
|
||||||
|
endif
|
||||||
|
|
||||||
define TRIGGERHAPPY_BUILD_CMDS
|
define TRIGGERHAPPY_BUILD_CMDS
|
||||||
$(MAKE) $(TARGET_CONFIGURE_OPTS) PKGCONFIG="$(PKG_CONFIG_HOST_BINARY)" \
|
$(MAKE) $(TARGET_CONFIGURE_OPTS) PKGCONFIG="$(PKG_CONFIG_HOST_BINARY)" \
|
||||||
-C $(@D) thd th-cmd
|
-C $(@D) thd th-cmd
|
||||||
|
|
Loading…
Reference in a new issue