[Buildroot] [PATCH 6/8] systemd: make libseccomp usage determinist

Jérôme Pouiller jezz at sysmic.org
Tue Sep 23 09:45:45 UTC 2014


Signed-off-by: Jérôme Pouiller <jezz at sysmic.org>
---
 package/systemd/systemd.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
index 39b458e..c7cff0d 100644
--- a/package/systemd/systemd.mk
+++ b/package/systemd/systemd.mk
@@ -76,6 +76,13 @@ else
 SYSTEMD_CONF_OPT += --disable-gudev
 endif
 
+ifeq ($(BR2_PACKAGE_LIBSECCOMP),y)
+SYSTEMD_CONF_OPT += --enable-seccomp
+SYSTEMD_DEPENDENCIES += libseccomp
+else
+SYSTEMD_CONF_OPT += --disable-seccomp
+endif
+
 ifeq ($(BR2_PACKAGE_SYSTEMD_ALL_EXTRAS),y)
 SYSTEMD_DEPENDENCIES += \
 	xz 		\
-- 
1.9.1



More information about the buildroot mailing list