seccomp support has been available since chrony-2.2
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
--host-system=Linux \
--host-machine=$(BR2_ARCH) \
--prefix=/usr \
- --without-seccomp \
--without-tomcrypt
ifeq ($(BR2_PACKAGE_LIBCAP),y)
CHRONY_CONF_OPTS += --without-nss
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)
CHRONY_DEPENDENCIES += readline
else