summaryrefslogtreecommitdiffstats
path: root/rules/pre
diff options
context:
space:
mode:
authorLadislav Michl <ladis@linux-mips.org>2020-01-27 09:53:00 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2020-01-31 09:24:16 +0100
commit691edd9c242d3eda393e3ca3deccada924a30069 (patch)
tree080caaa9a8e81161e0fa6734f9cf3463af7fa6d4 /rules/pre
parent166428930c2d624918e914cfb5503e2f12001a5f (diff)
downloadptxdist-691edd9c242d3eda393e3ca3deccada924a30069.tar.gz
ptxdist-691edd9c242d3eda393e3ca3deccada924a30069.tar.xz
Introduce global PAM option
Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/pre')
-rw-r--r--rules/pre/Rules.make6
1 files changed, 6 insertions, 0 deletions
diff --git a/rules/pre/Rules.make b/rules/pre/Rules.make
index 5597c64ec..8ca41f5c6 100644
--- a/rules/pre/Rules.make
+++ b/rules/pre/Rules.make
@@ -271,6 +271,12 @@ else
GLOBAL_LARGE_FILE_OPTION := --disable-largefile
endif
+ifdef PTXCONF_GLOBAL_PAM
+GLOBAL_PAM_OPTION := --enable-pam
+else
+GLOBAL_PAM_OPTION := --disable-pam
+endif
+
ifdef PTXCONF_GLOBAL_SELINUX
GLOBAL_SELINUX_OPTION := --enable-selinux
else