package/systemd: add optional support for audit
authorMaxime Hadjinlian <maxime.hadjinlian@gmail.com>
Fri, 1 Jul 2016 21:51:20 +0000 (23:51 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 2 Jul 2016 11:05:22 +0000 (13:05 +0200)
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/systemd/systemd.mk

index eefd98081b6e783efab4e2a5ee0229b054a7b73a..e3aacc642cbcf2629844db4cb4205b4f5d3d1519 100644 (file)
@@ -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