From 30f5f37e485b772ab298960b5fab73fbbb80dcc6 Mon Sep 17 00:00:00 2001 From: Maxime Hadjinlian Date: Fri, 1 Jul 2016 23:51:20 +0200 Subject: [PATCH] package/systemd: add optional support for audit Signed-off-by: Maxime Hadjinlian Signed-off-by: Thomas Petazzoni --- package/systemd/systemd.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index eefd98081b..e3aacc642c 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -64,6 +64,13 @@ else SYSTEMD_CONF_OPTS += --disable-acl endif +ifeq ($(BR2_PACKAGE_AUDIT),y) +SYSTEMD_CONF_OPTS += --enable-audit +SYSTEMD_DEPENDENCIES += audit +else +SYSTEMD_CONF_OPTS += --disable-audit +endif + ifeq ($(BR2_PACKAGE_LIBSECCOMP),y) SYSTEMD_CONF_OPTS += --enable-seccomp SYSTEMD_DEPENDENCIES += libseccomp -- 2.30.2