From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from eddie.linux-mips.org ([148.251.95.138] helo=cvs.linux-mips.org) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1ielp8-0001jb-QS for ptxdist@pengutronix.de; Tue, 10 Dec 2019 21:09:35 +0100 Received: (from localhost user: 'ladis' uid#1021 fake: STDIN (ladis@eddie.linux-mips.org)) by eddie.linux-mips.org id S23990923AbfLJUJc4g6wh (ORCPT ); Tue, 10 Dec 2019 21:09:32 +0100 Date: Tue, 10 Dec 2019 21:09:30 +0100 From: Ladislav Michl Message-ID: <20191210200930.GB948325@lenoch> References: <20191210200817.GA759825@lenoch> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20191210200817.GA759825@lenoch> Subject: [ptxdist] [PATCH 2/4] Introduce global PAM option List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Signed-off-by: Ladislav Michl --- rules/core-pam.in | 8 ++++++++ rules/pre/Rules.make | 6 ++++++ 2 files changed, 14 insertions(+) create mode 100644 rules/core-pam.in diff --git a/rules/core-pam.in b/rules/core-pam.in new file mode 100644 index 000000000..0e2c983a5 --- /dev/null +++ b/rules/core-pam.in @@ -0,0 +1,8 @@ +## SECTION=core + +config GLOBAL_PAM + bool + prompt "PAM support" + help + This will enable PAM for all packages with optional + PAM support. diff --git a/rules/pre/Rules.make b/rules/pre/Rules.make index 2924c8d34..64093ddc5 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 -- 2.24.0 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de