mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 21:26:36 +00:00
chrony: add optional seccomp support
seccomp support has been available since chrony-2.2 Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
fd70d0b434
commit
883eb058af
@ -13,7 +13,6 @@ CHRONY_CONF_OPTS = \
|
|||||||
--host-system=Linux \
|
--host-system=Linux \
|
||||||
--host-machine=$(BR2_ARCH) \
|
--host-machine=$(BR2_ARCH) \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--without-seccomp \
|
|
||||||
--without-tomcrypt
|
--without-tomcrypt
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LIBCAP),y)
|
ifeq ($(BR2_PACKAGE_LIBCAP),y)
|
||||||
@ -28,6 +27,13 @@ else
|
|||||||
CHRONY_CONF_OPTS += --without-nss
|
CHRONY_CONF_OPTS += --without-nss
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LIBSECCOMP),y)
|
||||||
|
CHRONY_CONF_OPTS += --enable-scfilter
|
||||||
|
CHRONY_DEPENDENCIES += libseccomp
|
||||||
|
else
|
||||||
|
CHRONY_CONF_OPTS += --without-seccomp
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_READLINE),y)
|
ifeq ($(BR2_PACKAGE_READLINE),y)
|
||||||
CHRONY_DEPENDENCIES += readline
|
CHRONY_DEPENDENCIES += readline
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user