summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRahul Bedarkar <rahul.bedarkar@imgtec.com>2016-09-15 15:57:03 +0530
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-09-16 18:43:09 +0200
commit8d9cad0d0585b99f804a1780d246b77825e20665 (patch)
tree067c3953f11971ee603100d47509f63a113fe4fe
parentc8252fdebb59424b2d4d65c9ea7ed2a6cd960e24 (diff)
downloadbuildroot-8d9cad0d0585b99f804a1780d246b77825e20665.tar.gz
buildroot-8d9cad0d0585b99f804a1780d246b77825e20665.zip
util-linux: add optional dependency on audit
login and hwclock can be built with audit support. This patch adds optional dependency on audit package if it is already selected. Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/util-linux/util-linux.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk
index 7b16ca40a2..82230bca77 100644
--- a/package/util-linux/util-linux.mk
+++ b/package/util-linux/util-linux.mk
@@ -153,6 +153,13 @@ else
UTIL_LINUX_CONF_OPTS += --without-readline
endif
+ifeq ($(BR2_PACKAGE_AUDIT),y)
+UTIL_LINUX_CONF_OPTS += --with-audit
+UTIL_LINUX_DEPENDENCIES += audit
+else
+UTIL_LINUX_CONF_OPTS += --without-audit
+endif
+
# Install PAM configuration files
ifeq ($(BR2_PACKAGE_UTIL_LINUX_LOGIN_UTILS),y)
define UTIL_LINUX_INSTALL_PAMFILES
OpenPOWER on IntegriCloud