From: Adam Duskett Date: Fri, 8 May 2020 01:59:56 +0000 (-0700) Subject: package/systemd: add support for apparmor X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b285cd9b05e5211a2a33f82e84fe84b3fec2c2e5;p=buildroot.git package/systemd: add support for apparmor If libapparmor is selected, depend on libapparmor and set -Dapparmor=true Signed-off-by: Adam Duskett Signed-off-by: Thomas Petazzoni --- diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 9f5429fd19..50398e747e 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -49,6 +49,13 @@ else SYSTEMD_CONF_OPTS += -Dacl=false endif +ifeq ($(BR2_PACKAGE_LIBAPPARMOR),y) +SYSTEMD_DEPENDENCIES += libapparmor +SYSTEMD_CONF_OPTS += -Dapparmor=true +else +SYSTEMD_CONF_OPTS += -Dapparmor=false +endif + ifeq ($(BR2_PACKAGE_AUDIT),y) SYSTEMD_DEPENDENCIES += audit SYSTEMD_CONF_OPTS += -Daudit=true