From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 02 Jun 2023 09:18:14 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1q4z3A-006yoR-1U for lore@lore.pengutronix.de; Fri, 02 Jun 2023 09:18:14 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1q4z37-0002CU-O6; Fri, 02 Jun 2023 09:18:13 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q4z2a-0000vK-B8; Fri, 02 Jun 2023 09:17:40 +0200 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1q4z2Z-004X9e-MX; Fri, 02 Jun 2023 09:17:39 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1q4z2Y-006HxR-RD; Fri, 02 Jun 2023 09:17:38 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Fri, 2 Jun 2023 09:17:38 +0200 Message-Id: <20230602071738.1498872-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230524210827.3137666-1-rhi@pengutronix.de> References: <20230524210827.3137666-1-rhi@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] templates: don't generate prompt for hosttools_noprompt packages X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Roland Hieber Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as 7a44472d11b0a49cac39581762c1467eae62e71c. Michael [sent from post-receive hook] On Fri, 02 Jun 2023 09:17:38 +0200, Roland Hieber wrote: > Signed-off-by: Roland Hieber > Message-Id: <20230524210827.3137666-1-rhi@pengutronix.de> > Signed-off-by: Michael Olbrich > > diff --git a/rules/templates/template-class-existing-target-in b/rules/templates/template-class-existing-target-in > index d563fb7bb657..b1c8e71023bc 100644 > --- a/rules/templates/template-class-existing-target-in > +++ b/rules/templates/template-class-existing-target-in > @@ -2,6 +2,4 @@ > > config @CLASS@@PACKAGE@ > tristate > -@DEFAULT@@SELECT@ prompt "@package@" > - help > - FIXME > +@DEFAULT@@SELECT@@PROMPT@ > diff --git a/rules/templates/template-class-in b/rules/templates/template-class-in > index d563fb7bb657..b1c8e71023bc 100644 > --- a/rules/templates/template-class-in > +++ b/rules/templates/template-class-in > @@ -2,6 +2,4 @@ > > config @CLASS@@PACKAGE@ > tristate > -@DEFAULT@@SELECT@ prompt "@package@" > - help > - FIXME > +@DEFAULT@@SELECT@@PROMPT@ > diff --git a/scripts/lib/ptxd_lib_template.sh b/scripts/lib/ptxd_lib_template.sh > index d77c4a73be8c..8d1e22c80ade 100644 > --- a/scripts/lib/ptxd_lib_template.sh > +++ b/scripts/lib/ptxd_lib_template.sh > @@ -113,6 +113,14 @@ ptxd_template_read_section() { > section_name="${1:-project_specific}" > fi > ptxd_template_read "enter package section" section "${section_name}" > + > + export PROMPT=' prompt "'${package}'" > + help > + FIXME > +' > + case "${section}" in > + hosttools_noprompt*) PROMPT="";; > + esac > } > export -f ptxd_template_read_section >